Child theme

I’ve had a friend ask me to have a look at his business website. When I logged in and had a look I found that the Wordpress “developers” or whoever created the site, has created it by directly editing twenty twelve theme directly! Grrrr!

So I have made a copy of the theme, and created a child theme from it. I’ve tested, then uploaded to the live site and it is working fine.

I’ve taken the steps below to create the child theme:

  • I’ve replaced the functions.php file code with the php code suggested at Wordpress Codex:
  • I’ve also updated the child theme CSS file with necessary info so that is shows in the theme section in the wordpress admin area.

My most pressing question is…will this be enough to ensure future updates to the twenty twelve theme will definitely not affect the new child theme?

If you have carefully followed the process as described in the WordPress Codex, and only made changes to the child theme, not the twentytwelve theme, then updates to the twentytwelve theme will not affect your child theme.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.