Title: Archive.php trouble
Last modified: August 20, 2016

---

# Archive.php trouble

 *  Resolved [doakh](https://wordpress.org/support/users/doakh/)
 * (@doakh)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/archivephp-trouble/)
 * Does anyone have any ideas this problem. When clicking on several post meta categories
   or tags [here](http://drusillacampbell.com/blog/) the archive pages are messed
   up (overlapping of several pages). Here is archive.php file and css.
 * Thanks
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/archivephp-trouble/#post-2823252)
 * for instance the ‘may 2012’ archive has this error:
    _ Line 200, Column 6: end
   tag for element “div” which is not open _
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fdrusillacampbell.com%2F2012%2F05%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fdrusillacampbell.com%2F2012%2F05%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * ‘april 2012’ has these errors (two extraneous `</div>`):
    [http://validator.w3.org/check?uri=http%3A%2F%2Fdrusillacampbell.com%2F2012%2F04%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fdrusillacampbell.com%2F2012%2F04%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * double-check the archive.php template for correctly paired opening/closing divs.
 * it seems that there is one too many `</div>` within the loop; and one missing
   after the loop.
 *  Thread Starter [doakh](https://wordpress.org/support/users/doakh/)
 * (@doakh)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/archivephp-trouble/#post-2823276)
 * Thank You. Here is Archives.php. It looks fine. I will have to check elsewhere.
 * [http://pastebin.com/9Uw4cy1N](http://pastebin.com/9Uw4cy1N)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/archivephp-trouble/#post-2823279)
 * >  It looks fine.
 * no – it does not.
 * if you label any closing `</div>` with the css class or id of the opening div,
   you should see that there is one in excess; within the loop, and one missing 
   after the loop.
 * see:
    [http://pastebin.com/YYjzZas4](http://pastebin.com/YYjzZas4)
 *  Thread Starter [doakh](https://wordpress.org/support/users/doakh/)
 * (@doakh)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/archivephp-trouble/#post-2823281)
 * Oh, I think I get it…the loop was not done and a wrench had been thrown in it.
 * Thank you so much. This is why I love WordPress and it’s community for helping
   out young developers. I will return the favor as my expertise grows.

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

The topic ‘Archive.php trouble’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [doakh](https://wordpress.org/support/users/doakh/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/archivephp-trouble/#post-2823281)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
