Title: Theme breaks on historical posts
Last modified: August 19, 2016

---

# Theme breaks on historical posts

 *  Resolved [curvy-jones](https://wordpress.org/support/users/curvy-jones/)
 * (@curvy-jones)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/)
 * I’m having an issue with my WordPress theme. Current posts, and up until around
   Nov 2009 are great. Previous to that, my theme breaks, when I look at historical
   posts. The background of the post disappears and my sidebar moves to the post
   area.
 * In example, from September 2009:
    [http://diaryofcurvyjones.com/2009/daily-grind/i-wish-i-was-a-little-bit-taller-i-wish-i-was-a-blogger/](http://diaryofcurvyjones.com/2009/daily-grind/i-wish-i-was-a-little-bit-taller-i-wish-i-was-a-blogger/)
 * From October 10, 2009
    [http://diaryofcurvyjones.com/2009/personal/sexified/curvy-jones-on-tucking-that-in-my-back-pocket/](http://diaryofcurvyjones.com/2009/personal/sexified/curvy-jones-on-tucking-that-in-my-back-pocket/)
 * From August 15, 2009
    [http://diaryofcurvyjones.com/2009/personal/sexified/curvy-jones-onif-you-were-my-girlfriend-id-treat-you-good/](http://diaryofcurvyjones.com/2009/personal/sexified/curvy-jones-onif-you-were-my-girlfriend-id-treat-you-good/)
 * But a post from Nov 28th shows up fine:
    [http://diaryofcurvyjones.com/2009/housekeeping/curvy-jones-on-the-friday-five-on-saturday/](http://diaryofcurvyjones.com/2009/housekeeping/curvy-jones-on-the-friday-five-on-saturday/)
 * I have deactivated all plugins and tried it, it’s not a plugin. Posts from Nov
   to current read fine. I have looked at the HTML and tried to find anything hanging
   out acting weird, but I’m not much of an HTML detective so I don’t know what 
   the problem is.
 * It took me a long time to find a theme that I liked. I’ve done a lot of work 
   on this theme to make it work for me and I really don’t want to have to switch
   to a new one over this issue. Can anyone give me some guidance as to what to 
   look for?
 * Thanks!

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

 *  [huggie](https://wordpress.org/support/users/huggie/)
 * (@huggie)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/#post-1397055)
 * Do you have a single.php in your theme, or are you just using index.php do display
   posts?
 * Regards
    Huggie
 *  Thread Starter [curvy-jones](https://wordpress.org/support/users/curvy-jones/)
 * (@curvy-jones)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/#post-1397059)
 * yes, I have single.php but often, when I make changes, they only ‘take’ if I 
   make them to Index. php.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/#post-1397088)
 * general, in the older post, there is one closing div missing before calling the
   sidebar – (in single.php) (because the same article shows fine when called from
   the archive).
 * theory:
    the older posts have the comments closed: the commentsform provides 
   this closing div for those ‘working’ posts.
 *     ```
       </script>
   
       </form>
       </div>
       ```
   
 * (there is no opening div with the comments form code, and this last closing div
   comes imho from the comments-popup.php)
 * you could try and add the closing div to single.php and remove it from commments-
   popup.php
 *  [huggie](https://wordpress.org/support/users/huggie/)
 * (@huggie)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/#post-1397093)
 * Beat me to it, It’s almost certainly a DIV issue.
 * Huggie
 *  Thread Starter [curvy-jones](https://wordpress.org/support/users/curvy-jones/)
 * (@curvy-jones)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/#post-1397111)
 * *gasp*
 * I love you! adding the closing tags to single.php did the trick. I suspected 
   it was <div> but didn’t know where to look. YAY.

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

The topic ‘Theme breaks on historical posts’ is closed to new replies.

## Tags

 * [broken themes](https://wordpress.org/support/topic-tag/broken-themes/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 5 replies
 * 3 participants
 * Last reply from: [curvy-jones](https://wordpress.org/support/users/curvy-jones/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/theme-breaks-on-historical-posts/#post-1397111)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
