frustrations with child functions file
-
Over the past few months, I have asked a number of questions about how to encode a child’s functions file and am quite disheartened at the lack of replies. I do understand that this is a forum peopled by volunteers. But surely there are people out there who do indeed understand how to encode functions files.
I cannot believe that I am the only person interested to learn this without having to take an advanced course in PHP.
Child themes are the recommended way of modifying an existing theme. […] [T]he functions.php of a child theme provides a smart, trouble-free method of modifying the functionality of a parent theme. (codex.wordpress.org/Child_Themes)
The codex is not particularly helpful after that, especially with its really very poor example of how to encode a functions file. The example of coding
// Do something.is particularly demoralizing and unhelpful.Creating a child theme when performing adjustments to your theme’s code can save you a lot of future headache. Child themes allow you to make changes without affecting the original theme’s code, which makes it easy to update your parent theme without erasing your changes. (elegantthemes.com | How To Create A Child Theme, And Why You Should Be Using One)
Because I know only enough about php to get myself in trouble, I would like to have my child theme be made up of the stylesheet, functions file and only one or two other files – so that I do not have to update every file, every time that the parent theme is updated.
Could someone please update the codex to give a few real-world examples of how to make minor customizations of a parent theme?
Thank you.
E. Morris, [Signature moderated]
The topic ‘frustrations with child functions file’ is closed to new replies.