Original functions.php in child theme?
Regarding a Twentytwelve child theme and the functions.php file.
Usually, I have been putting any files I want to alter, in my child theme folder, in order to preserve the original theme intact. In this case I’ve (successfully) created a child theme for the Twentytwelve theme. However, when I copy the original functions.php file from Twentytwelve to my child theme folder, I get heaps of PHP errors. Essentially, I can’t seem to do this with Twentytwelve, as I have done numerous times with other themes.
What I would very much like to do is to keep the functions.php file intact in it’s original location (obviously), while at the same time being able to edit key parts of functions.php within my child theme (translation, for instance, alongside some minor PHP tweaks here and there).
As I have never encountered this behaviour with previous themes, I have no clue what I should do. Following the Codex article on child themes does not seem to apply here, albeit functions.php file is listed as optional in the article. It’s a bit confusing nonetheless.
Any help would be greatly appreciated, thanks!
- The topic ‘Original functions.php in child theme?’ is closed to new replies.