Child Themes

Here are my notes on WordPress Child Themes. I made one for zbench and am now working with Nulis. The key wordpress codex page is here…. It documents how to create a child theme. The technique for defining inheritance has changed between the time when I made for the zbench child theme and today, when I first started to try to customise nulis. The new technique requires a function.php file in the child theme folder which has code to control the order in which the parent and child files, including the CSS are loaded.
I ran a google query with the keywords “wordpress child themes”.

Hongkiat have an article on developing with child themes.

I returned to this in Feb ’02 when I needed to perform significant surgery on the simple theme. Here are some links I found useful.

  1. http://codex.wordpress.org/Child_Themes
  2. http://codex.wordpress.org/Commenting_Code
  3. http://codex.wordpress.org/images/9/96/wp-template-hierarchy.jpg
  4. https://thethemefoundry.com/blog/edit-wordpress-theme-html/
  5. http://www.sitepoint.com/create-your-own-wordpress-theme-from-an-html-template/

Comments ( 3 )

  1. Dave
    I created the two files, and when I tried to login using a different system I got the following errors. in functions.php, I enclosed the php with a close tag. Warning: Cannot modify header information - headers already sent by (output started at /homepages/19/d106342642/htdocs/wiki/wp-content/themes/child-nulis/functions.php:9) in /homepages/19/d106342642/htdocs/wiki/wp-login.php on line 424 This article in the codex explains the problem is the php close tag. The functions.php does not require it.
  2. Dave
    Hard to believe I missed the codex page on child themes. Now it's there.
  3. Spacious Theme | wiki . davelevy . info
    […] Child Themes […]

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

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close