From the course: Learning Genesis for WordPress

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The files that make up a child theme

The files that make up a child theme

From the course: Learning Genesis for WordPress

Start my 1-month free trial

The files that make up a child theme

- [Instructor] Because the Genesis Framework contains all the course functionality and structural elements required for a WordPress site, things like the header, the menu, sidebar, and footer, the files needed for a child theme are pretty minimal. As a matter of fact, there are only two files required to make a child theme: functions.php and style.css. I've got a custom child theme I've created here called demo. Looking at it in the code editor I'll show you that I have just two files, functions.php and style.css. They're both empty, say, for the comments at the top of each file. Now if I go to my WordPress install and head to the Themes page, here I can see that Demo theme. There's nothing much to it, and if I were to activate it and look on the front end of my site, there's nothing much to see. And that's because my child theme at this point is essentially an empty shell. But those two files are all you needed to…

Contents