Template part has been deleted or is unavailable: header
-
Hello ??
I hope this is the right forum to post this request.I’ve been struggling for a few days now on this matter.
I’ve tried to do my own theme based on another theme. As of now, I’ve just changed the FOOTER and the HEADER in which I brought my own code taken from my website.
Moreover, I’ve added all of my scripts and CSS files in my fonctions.php at the root of my theme. No PHP error are showing when I turn on wordpress’ debug mode. However, on every page, it brings out this error :
– Template part has been deleted or is unavailable: header
– Template part has been deleted or is unavailable: footer
I’ve added all the possible tags on my files such as “<?php wp_footer(); ?>”, along others so allow wordpress to work properly. WordPress does have access to those files & is allowed to read and edit.Note : If I change the extention of my footer.php & header.php into .html, they work, but they don’t take any CSS or JS into consideration.
any idea how to solve it ? I really am running out of ideas…
Thanks !
- The topic ‘Template part has been deleted or is unavailable: header’ is closed to new replies.