Chapter 13

Understanding Parent and Child Themes

In This Chapter

arrow Customizing a theme with child themes

arrow Tweaking theme structure with a child theme

arrow Working with template files

arrow Getting down the terminology of stylesheets and templates

Using a theme exactly as a theme author released it is great. If a new version is released that fixes a browser compatibility issue or adds features offered by a new version of WordPress, a quick theme upgrade is very easy to do.

However, there’s a good chance you’ll want to tinker with the design, add new features, or modify the theme structure. If you modify the theme, you can’t upgrade to a newly released version without modifying the theme again.

If only you could upgrade customized versions of themes with new features when they’re released. Fortunately, child themes give you this best-of-both-worlds theme solution. This chapter explores what child themes are, how to create a child theme–ready parent theme, and how to get the most out of using child themes.

Customizing Theme Style with Child Themes

A WordPress theme consists of a collection of template ...

Get WordPress® Web Design For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.