Including your Wordpress Theme to Normal pages

If you’ve installed Wordpress, and aim to use it for blogging purposes only, not a content managing system, then you would want to include your created Wordpress theme to your normal pages. These are called Static Pages.

This follows the same gist as including your layout using PHP includes, if you already know how to do that, this should be a simple process.

1. Log into your FTP. Start or open up a page, this page must be in PHP.

2. We will now include your Wordpress blog header using PHP includes. Copy this bit of code and paste it to the top of every page you want included.

<?php require_once("./wp-blog-header.php");?>
<?php get_header(); ?>
If this did not work for you and you are having problems with including the file, it could be to do with the directory path. Try replacing it with the absolute path to your wordpress/wp-blog-header.php file.

3. Copy this code and paste it to the bottom of your page. This will include your footer file.

<?php get_footer(); ?>
You should do this for every page that you want your Wordpress theme included.