Title: single.php Shows all posts
Last modified: August 18, 2016

---

# single.php Shows all posts

 *  [Pegasusteam](https://wordpress.org/support/users/pegasusteam/)
 * (@pegasusteam)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/singlephp-shows-all-posts/)
 * When I click on a post title it takes me to a page that shows ALL the posts… 
   any ideas?
    [http://guides.pegasusteam.com/quitsmoking/](http://guides.pegasusteam.com/quitsmoking/)
 * The theme had all the sidebars etc codes in the header file so I had to break
   it apart and code the sidebars etc. I never could get the second sidebar to display
   at the right, it was always down below the content. 🙁

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/singlephp-shows-all-posts/#post-587566)
 * Your permalinks are not working. Set them back to the default.
 *  Thread Starter [Pegasusteam](https://wordpress.org/support/users/pegasusteam/)
 * (@pegasusteam)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/singlephp-shows-all-posts/#post-587568)
 * I reset permalinks to default and I have the same problem :o(
 * In the files I used:
 *     ```
       <?php include (TEMPLATEPATH . "/header.php"); ?>
       <?php include (TEMPLATEPATH . "/leftbar.php"); ?>
       ```
   
 * Instead of:
 *     ```
       <?php get_header(); ?>
       <?php get_leftbar(); ?>
       ```
   
 * because I got errors using get_, would that have anything to do with it?
 * Ron
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/singlephp-shows-all-posts/#post-587580)
 * Well, _get\_header_ should work – it’s a built-in function in WP;
    _get\_leftbar_
   should NOT work, so the code you gave for it is OK.
 * Seemingly you must have some other issues – some permalinks work (like categories),
   others don’t.
    Maybe your editing of the theme is not OK… I can’t tell.

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

The topic ‘single.php Shows all posts’ is closed to new replies.

## Tags

 * [single.php](https://wordpress.org/support/topic-tag/single-php/)

 * 3 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/singlephp-shows-all-posts/#post-587580)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
