include templatepath function
-
1) this is the code to get an alternate header =
<?php include (TEMPLATEPATH . ‘/header2.php’); ?>
2) i moved a file outside of the wp directory and that file is now looking for header2.
i tried this but it does not work =
<?php include (TEMPLATEPATH . ‘https://www.domain.com/wp-content/themes/theme/header2.php’); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘include templatepath function’ is closed to new replies.