WordPress Monthly Archive by Year
Posted
by PaulDavis
on Stack Overflow
See other posts from Stack Overflow
or by PaulDavis
Published on 2010-01-13T15:07:26Z
Indexed on
2010/03/21
6:01 UTC
Read the original article
Hit count: 250
WordPress extraordinaires, I need your help!
I need to be able to list the archives, but in a slightly different way than the WP codex, or an hour of Googling will show me.
I need the months of the year, as the generic archive function, but only for one year at a time. So, list all the months in 2007. I'll need to be able to use this multiple times in the same template too, for different years. I've got a feeling query_posts might be the way, but I'm not too sure.
Anyone got some ideas?
© Stack Overflow or respective owner