Integrate page into theme
OK, i am running WP 2.0.2 on linux with full access to the server (i own this server). Site is at http://www.mytimewithgod.net (please don’t complain about a horizontal scroll bar). If you will click on “Bible” at the top of the page, then, in the search field, type “romans” (without the quotes) and click “search”. You will see the results page. Notice how it IS NOT intergrated with my theme (modified blix)? My question is, how do i make this page intergrate with my site theme?
I have taken snippets of WP code (like <?php require_once get_template_directory() .”/BX_functions.php”; ?> and <?php get_sidebar(); ?>)and inserted them into the “search.php” file and receive this error:
Fatal error: Call to undefined function: get_template_directory() in /srv/www/htdocs/wp-includes/search.php on line 2
The “Bible” is in its own directory root/kjvdict/ind files for all books and chapters. The search.php file is in a WP directory but i can not get it to intergrate into the theme. Can anyone point me in the right direction? Many thanks.
- The topic ‘Integrate page into theme’ is closed to new replies.