I have this wordpress [here](http://bochdewi.co.uk/ysgol-y-berllan-deg/ “The Site”) and this code in the page.php file:
< ?php get_header(); ?>
< ?php the_post(); ?>
< ?php get_footer(); ?>
but instead of outputting the page it outputs the blog post. Please can someone help me here.
You are not using the Loop http://codex.wordpress.org/The_Loop_in_Action so it just defaults to index.php due to Template Hierarchy http://codex.wordpress.org/Template_Hierarchy
This reply has been reported for inappropriate content.
But i’m sure it is outputting page.php because the index.php is different in the HTML
Sorry i wasn’t using wp_reset_query();
You must be logged in to reply to this topic.