Support » Themes and Templates » Single.php showing all posts?

  • For some reason my page single.php is showing all the post from a category instead of just a single post! I cannot figure out why this is at all. Am I missing some code?

    <?php get_header(); ?>
    <div id="container">
    <?php if(have_posts()) : ?>
    <?php while(have_posts()) : the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php endwhile; ?>
    <?php endif; ?>
    <?php get_footer(); ?>

    The post in question:

    I want it to display the screenshots post but instead it is displaying all the posts from that category. Really would appreciate if anyone could help me fix this.. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Single.php showing all posts?’ is closed to new replies.