Static page issues.
-
I want to create pages completely independent from wordpress, but have the same theme. Someone suggested that i was referring to a static page and gave me this code, but when i try it i get a bunch of errors
<?php define('WP_USE_THEMES', true); require('../blog/wp-blog-header.php'); ?> <?php get_header(); ?> <div class="main"> <div class="content"> ~Content is here (: </div> <?php get_sidebar(); ?> <div class="clearer"><span></span></div> </div> <?php get_footer(); ?>
I made a sample page called credits.php
“https://www.mysite.net/pages/site/ credits.php”
wp-blog-header is:
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Static page issues.’ is closed to new replies.