tracks-child : header.php not working
-
Hi Ben …
I have read the WP Codex and am told:
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. For instance, if you want to change the PHP code for the site header, you can include a header.php in your child theme’s directory, and that file will be used instead of the parent theme’s header.php.
If I do just as I’m told put a copy of header.php in my child folder & add php code to the child hearer.php file … the new code does not show up in my website.
If I take the same code and at it to the parent header.php file … it works.
Color me baffled. I’m doing exactly what the Codex says, but not getting the results I’m told I will.
My child css file works as advertised … but can’t get a child header.php file to work for the life of me!
Help!
Thanks … Joe
https://www.go2jo.com
- The topic ‘tracks-child : header.php not working’ is closed to new replies.