Title: single posts
Last modified: August 19, 2016

---

# single posts

 *  [simon day](https://wordpress.org/support/users/simon-day/)
 * (@simon-day)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/single-posts/)
 * I am having issues with my templates for posts. It seems that when i have a single
   post it is still using index.php and not single.php, and when this happens it
   breaks the layout, see; [http://test.tuscorlloyds.com/tuscornews/category/recent-projects/algeria/](http://test.tuscorlloyds.com/tuscornews/category/recent-projects/algeria/)
   does anyone know why this is happening?

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

 *  Thread Starter [simon day](https://wordpress.org/support/users/simon-day/)
 * (@simon-day)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/single-posts/#post-1401840)
 * i forgot to mention when there is more than one post on the page the layout is
   fine, see: [http://test.tuscorlloyds.com/tuscornews//afghanistan/](http://test.tuscorlloyds.com/tuscornews//afghanistan/)
   
   I think there is an extra <div> tag being generated somewhere that breaks the
   layout when there is only one post on a page
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/single-posts/#post-1401845)
 * I’d take a look [here](http://validator.w3.org/check?uri=http%3A%2F%2Ftest.tuscorlloyds.com%2Ftuscornews%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&verbose=1&user-agent=W3C_Validator%2F1.654)
   and [here](http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ftest.tuscorlloyds.com%2Ftuscornews%2Fcategory%2Frecent-projects%2Falgeria%2F),
   first. You have some minor validation errors that shouldn’t really effect your
   layout but are easy to fix and a few major ones that could contribute to your
   problem. Its going to be hard to get consistent results until you clean those
   up.
 * How do you know that index.php is being used instead of single.php or category.
   php? I can’t really work that out from my end.

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

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

 * 2 replies
 * 2 participants
 * Last reply from: [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/single-posts/#post-1401845)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
