Viewing 1 replies (of 1 total)
  • Placing files like your archives.php in the blog’s root is outside of the *normal* template structure for a WordPress theme. If you want to set up WP files this way you need to include the wp-blog-header.php file at the start of the document (this turns a PHP file into a WordPress enabled one):

    <?php include('./wp-blog-header.php'); ?>

    Make sure the path to wp-blog-header.php is correct.

Viewing 1 replies (of 1 total)
  • The topic ‘New pages’ is closed to new replies.