Keep theme on all pages
-
I have a site, skinsfan.net, and my index page includes wordpress as a form of updating. I want to know how to keep the same layout on every page, like cast.php or site.php. I know about php and php includes and i tried what i thought might work which was setting up the page like this
<?php include('/wp-content/themes/skinsfan_v1/header.php'); ?> CONTENT GOES HERE <?php include('/wp-content/themes/skinsfan_v1/footer.php'); ?>
but it came up with this on the page
Warning: include(/wp-content/themes/skinsfan_v1/header.php) [function.include]: failed to open stream: No such file or directory in /home/fakefan1/public_html/skinsfan.net/cast.php on line 1 Warning: include() [function.include]: Failed opening '/wp-content/themes/skinsfan_v1/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fakefan1/public_html/skinsfan.net/cast.php on line 1 CONTENT GOES HERE Warning: include(/wp-content/themes/skinsfan_v1/footer.php) [function.include]: failed to open stream: No such file or directory in /home/fakefan1/public_html/skinsfan.net/cast.php on line 5 Warning: include() [function.include]: Failed opening '/wp-content/themes/skinsfan_v1/footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fakefan1/public_html/skinsfan.net/cast.php on line 5
Please help me solve this problem.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Keep theme on all pages’ is closed to new replies.