Child theme dos and don'ts
-
Hi. I’m fairly new to wordpress, and while I have a few basic sites up and running I need some help going a bit further.
I’ve read about child themes and tried to search around the forums a bit but still a little stuck. Basically,. I’m not 100% clear on the best way to use them, and until I can get to the point where I can build my own theme I think I need to in order to have the kind of customisation I want.
So, here’s where I am. I have tried using a one-click child theme plugin which basically just copied the css file over for modification. All well and good but I want to go tweaking the templates etc on my themes and not lose that when it updates.
The other approach I’ve tried is make a clone of the entire theme and call it ‘XXX – child’ in my site content folder then go from there.
However on one of these posts I read that you shouldn’t copy the functinos.php file and I got a bit worried that this isn’t the best way to do it. Are there any other files I should be leaving alone? And what if I modify some templates in my child theme folders then the main theme updates, will that cause problems? Maybe it’s a basic question I don’t know, I’m just a little confused at the moment! I can post examples of what I’m trying to do if it’s not clear, but in the mean time, anyone have any clear dos and don’ts for using child themes? Thanks!
- The topic ‘Child theme dos and don'ts’ is closed to new replies.