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
‘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
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
(@doakh)
Thank You. Here is Archives.php. It looks fine. I will have to check elsewhere.
http://pastebin.com/9Uw4cy1N
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
Thread Starter
doakh
(@doakh)
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.