template path question in php code
-
Dumb question — how do I write the template path if WP is installed in the root directory of http://www.blabble.org? Here is the code:
<?php else : ?><h2 class="center">Not found.</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?><?php endif; ?>
Also, once I include the template path am I supposed to remove the “.” and spaces and run the entire address together with the /searchform.php’ thus making it something like (‘http://www.blabble.org/wp-content/themes/relaxation/searchform.php’) ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘template path question in php code’ is closed to new replies.