Making .php pages work with WP

Main >> Content >> Tutorials >> Wordpress >> Making .php pages work with WP

If you are using PHP you will soon notice that your pages woun't work in Wordpress. Your header and footer has to change.
Step 1: Use the code under for your pages instead of the one your're already using.
<?php require('YOURABSOLUTEPATH/wordpress/wp-blog-header.php'); ?><?php get_header(); ?>

	Page content here

< ?php get_footer(); ?>

Step 2: Type in your absolute path where it says so. If you don't know how to find your absolute path, follow this tutorial.

Step 3: After that you're done. You have to change the header and footer on all your pages if you want them to work in Wordpress.