Title: single.php showing multiple posts
Last modified: August 19, 2016

---

# single.php showing multiple posts

 *  [earphinteractive](https://wordpress.org/support/users/earphinteractive/)
 * (@earphinteractive)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/singlephp-showing-multiple-posts/)
 * I’m a newbie with WordPress and can’t figure out how to use the single.php template.
   I’ve got my posts showing up fine on the index.php template, but when I click
   a post for more info, all of the posts are visible instead of that single post.
 * What am I doing wrong here? How exactly does it work? When you click on post 
   should it show the extended text and comment form via “if statement”, or does
   it click over to the single.php template?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/singlephp-showing-multiple-posts/#post-1026253)
 * Switch to the WordPress Default theme and see how the [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)‘
   works’ for single posts. Then look at the wp-content/themes/default/single.php
   for ideas.
 *  Thread Starter [earphinteractive](https://wordpress.org/support/users/earphinteractive/)
 * (@earphinteractive)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/singlephp-showing-multiple-posts/#post-1026343)
 * Ok, I’ve read some posts on how the single.php template works and it makes sense,
   and I’ve also looked at the “Default” single.php template, but having a hard 
   time figuring out what’s wrong.
 * I’m getting multiple posts when single.php is used. A friend mentioned that I
   should “limit” the posts to 1 on that page, but not sure how. Is that the right
   approach?
 *  [asechrest](https://wordpress.org/support/users/asechrest/)
 * (@asechrest)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/singlephp-showing-multiple-posts/#post-1026345)
 * Are you using a third-party theme, or your a theme you coded yourself?
 *  Thread Starter [earphinteractive](https://wordpress.org/support/users/earphinteractive/)
 * (@earphinteractive)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/singlephp-showing-multiple-posts/#post-1026349)
 * Theme I coded myself….

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘single.php showing multiple posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [earphinteractive](https://wordpress.org/support/users/earphinteractive/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/singlephp-showing-multiple-posts/#post-1026349)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
