Support » Themes and Templates » Single page template displaying first post info

Viewing 5 replies - 1 through 5 (of 5 total)
  • edit: Sorry I originally misunderstood your post.

    In the admin panel is all your post content different?

    Try disabling permalinks and see if it still does it

    Might paste the whole template code (is it single.php) in a pastebin and report the link back here.

    Hi MichaelH. Here is the template code for single.php

    miocene22: Hey. I’m not 100% sure what you mean.I have made 3 individual posts. I disabled the permalinks so that they had only a page id number and I still get the same thing.

    Guessing your <?php include (TEMPLATEPATH . '/newsevents_sidebar.php'); ?> is causing the problem. Might add wp_reset_query(); after that line.

    MichaelH thanks very much! Works perfectly. It now occurs to me that the code for the main news page and single post pages is the same. The reset works perfectly. Again, thanks.

    Cheers miocene22 for your input.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Single page template displaying first post info’ is closed to new replies.