include php script into header.php
-
Hello,
I’m experiencing some issues while including a php script/html file into the header.php file.
<?php include (TEMPLATEPATH . “/test.html”);?>
<?php include (TEMPLATEPATH . “/testphp.php”);?>None of this versions are working. I also tried including using include (‘filename.extension’) or include “filename.extension” without having the desired effect.
I’m 100% sure that both scripts are working as expected and this can be tested and confirmed using:
https://holdemfreerolls.net/wp-content/themes/sw-poker3-black/testphp.php
https://holdemfreerolls.net/wp-content/themes/sw-poker3-black/test.htmlHowever on the mainpage the files are loaded, however the JS code located inside the files are not loaded. Any clues on how I can find the cause of this?
- The topic ‘include php script into header.php’ is closed to new replies.