O'Reilly logo

WordPress 2.8 Themes Cookbook by Lee Jordan, Nick Ohrn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a child theme

One of the features that is really gaining traction in the WordPress theme development community is the concept of child themes. A child theme is a theme that has a unique stylesheet but inherits the template files from a parent theme. That is, the parent theme is largely responsible for producing the template output, and the child theme is responsible for styling that output.

In addition, a child theme can selectively override certain template files. So, if a child theme wishes to have a special home page or wants to list a specific archive type in a unique way, it can override only those pages and everything else will still display as defined by the parent theme.

Getting ready

Before creating a child theme, you must choose ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required