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(); ?>
<?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: http://easingslider.matthewruddy.com/screenshots.
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.
- The topic ‘Single.php showing all posts?’ is closed to new replies.