Twenty Eleven – creating a child theme after the fact
-
I’ve spent 100+ hours adapting Twenty Eleven to reflect the design I wanted for our Wellington Batucada website http://batucada.org.nz/ and it’s only now that I realise I really shouldn’t have been hacking at the original theme – I should have made a child them and worked on that instead. Doh!
It’s not just the stylesheet that I’ve made changes to – I’ve hacked away at all sorts of files – not all of which I can now recall. Aargh.
I’ll be OK following the WordPress instructions on how to create a child theme, but I wanted to get an overview of the relationship between parent and child themes before I start.
I know I’ve altered, for example, header.php, footer.php, probably functions.php as well as style.css (and there are probably others I’ve forgotten) – plus I’ve made changes to various files within some of the plugins I’ve installed.
I’d like some advice on the best way to go about creating the child theme – considering that I’ve made so many changes to so many files.
Would it be best to copy all of the files inside themes/twentyeleven and put those into the child folder (just in case I’ve changed them) and then re-load a virgin copy of twentyeleven to use as the (unchanged) base theme?
Will files other than style.css work properly from a child theme (will they happily override their parent equivalents) or is there stuff I need to know about various file behaviours before I start?
Do I need to do the same for any plugin files I have changed, or are they independent of the child/parent thing anyway?
I want to make the creation of the child theme as painless and quick as possible, and of course I really want to be sure I don’t break the site in the process.
Hope someone can help. Thanks heaps in advance!
- The topic ‘Twenty Eleven – creating a child theme after the fact’ is closed to new replies.