Broken Child Theme
-
Hi guys,
I’m having major problems with a child theme I’ve been developing locally.
I switched over from my child theme to the parent theme to see how something rendered on that, as I was having issues in the child theme, then when I switched back to the child theme my home page was blank.
I’ve since gone back and recreated it, adding one file at a time, and it seems my problems lie in a function which is being called in the header.php file and my child theme no longer recognises the function.
The parent theme is Buzzstore by SparkleThemes and it has a functions.php file under it’s “buzzstore” directory and another one under “buzzstore/sparklethemes”.
The function which is causing the drama is under the “sparklethemes” directory.
In my child theme I have created the same directory and copied over the functions.php file to add some customisation but it doesn’t seem to be picking it up.
This all worked fine prior to switching themes and then switching back.
I didn’t change a line of code so I really don’t know what is causing the problem.If I delete the call to that function my page loads, but it is missing a stack of styling and markup, which is called from the “buzzstore/functions.php” so I don’t think that is being called either.
How can I check if my child theme is pulling the original functions.php files from the parent theme? And has anyone had any similar experience?
I’ve tried downloading all my files from my Github repository and also from my live server and recreating it all, but it still has the same problem.
If it’s any help I am calling the parent theme from my style.css file with “@import url(‘../buzzstore/style.css’);”
Thanks in advance for any help/advice
Don
- The topic ‘Broken Child Theme’ is closed to new replies.