Support » How-To and Troubleshooting » Static page issues.

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

    define('WP_USE_THEMES', true);
    <?php get_header(); ?>
    	<div class="main">		
    		<div class="content">
    ~Content is here (:
    			<?php get_sidebar(); ?>
    		<div class="clearer"><span></span></div>
    <?php get_footer(); ?>

    I made a sample page called credits.php

    “http://www.mysite.net/pages/site/ credits.php”

    wp-blog-header is:


Viewing 2 replies - 1 through 2 (of 2 total)
  • Not exactly a WP question – it’s basic HTML.
    You have to “jump” up 2 directories, not one.

    It still doesn’t work =/

    Sorry for posting in it the wrong place.

    define('WP_USE_THEMES', true);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Static page issues.’ is closed to new replies.