Child Themes

I’ve discovered how to work with child themes which is ingenious. Child themes allow you to easily create alternative theme elements without modifying the base theme.


I’ve created the child theme directory in the themes folder. The child theme I am creating is based off of the TwentyFourteen theme. My themes folder contains twentyfourteen, and now twentyfourteen-child.

Files needed to get started with the child theme are listed below and should be placed in the child theme folder (twentyfourteen-child/HERE):

  • style.php
  • functions.php

The style.php file must contain:

/*
Theme Name: Twenty Fourteen Child
Theme URI: http://lakelandgraphicdesign.com/joshmakar/wordpress/wp-content/themes/twenty-fourteen-child/
Description: Twenty Fourteen Child Theme
Author: Josh Makar
Author URI: http://lakelandgraphicdesign.com/joshmakar/wordpress
Template: twentyfourteen
Version: 1.0.0
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twenty-fourteen-child
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

The functions.php file must contain:

Sources:
http://codex.wordpress.org/Child_Themes

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.