Child theme functions.php question
-
Hi,
I have a question about the child theme functions.php:
At this page it says under “Template Files”, “If you want to change more than just the stylesheet, your child theme can override any file in the parent theme: simply include a file of the same name in the child theme directory, and it will override the equivalent file in the parent theme directory when your site loads.” And under “Using functions.php” it says “Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php. (Specifically, it is loaded right before the parent’s file.)”
So, first it says that it OVERRIDES any file and then it says it does NOT OVERRIDE the file. And when it is loaded right BEFORE the parent’s file then the end result would be the one from the PARENT file and NOT the one from the CHILD file, right?
I`m confused, please help.
Thanks a lot in advance for your help.
Best regards
Albert
- The topic ‘Child theme functions.php question’ is closed to new replies.