From the course: WordPress: Customizing Themes with Genesis
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
The child theme template structure
From the course: WordPress: Customizing Themes with Genesis
The child theme template structure
- [Instructor] Once you've seen the guts of the Genesis Framework, or the parent theme for your site, you may be wondering exactly what a child theme looks like on the inside. Well, here I'm working with the Genesis sample theme that I downloaded earlier from GitHub. In a traditional WordPress parent-child theme structure, the child theme inherits all of the parent theme functionality, so if you want to override some functionality in the parent theme you would copy or create a file with that exact same name and the child theme file would take precedence. This process is streamlined when you're working with Genesis. While you technically can create template files, there's usually not a need to due to various action and filter hooks provided by the Genesis Framework. We can do the bulk of our child theme customizations in a single file called functions.php. Now in additional to functions.php the only other file that you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.