Using my own static page in the template folder? (2 posts)

  1. JesperA
    Posted 7 years ago #


    I currently use my own static pages (not using the wordpress built in page function)
    and it works fine if i put my PHP files in the root folder, the standard file looks like this;

    <?php require 'wp-blog-header.php'; ?>
    <?php get_header(); ?>
    <?php get_footer(); ?>

    My problem is that i want my PHP files to be in the template folder, i often move thins around and it would be nice to have every file in the template folder.
    The above code wont work in the template folder.

    Any ideas?

  2. JesperA
    Posted 7 years ago #

    WordPress is not installed in the root directory if that mathers?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.