Colin_Lewis
Member
Posted 3 years ago #
I set up yearly archives as described here:
http://codex.wordpress.org/Creating_an_Archive_Index
and they have worked without a problem. Now, however (after a week of working correctly), they display the year "0" even though no posts have the date set as year 0. Clicking on the zero takes you to the latest post. If I delete that post the zero remains and is linked to what was the second latest post.
See it in action here:
http://www.kaleido.nu/galleriarkiv/
(Swedish site, but you'll understand everything fine :) )
So - any ideas?
Thanks folks!
Colin
Colin_Lewis
Member
Posted 3 years ago #
One day later - the problem has disappeared on its own. I'll chalk it up to server weirdness.
/Colin
mjasonprickett
Member
Posted 2 years ago #
I am having the same issue. Just installed SRG Clean Archives, Weighted Categories, and Compact Monthly Archive and set up my archive page. You can see the results at http://blog.jayprickett.com/archives/ (or follow the link on my name and click the archives link at the top of the page) . The year 0 (zero) seems to be interchangeable with the current year. And the same behavior occurs with both sets of archives, scroll down to bottom to see the zero year with no month in it, so it seems to be WordPress related and not due to the plugins themselves.
mjasonprickett, any chance you have draft posts sitting around? If so, see this thread for how you might improve whatever code is generating the 'by year' archive list:
http://wordpress.org/support/topic/58295?replies=3