wp_get_archives but skip the current year
-
I have a widget for my sidebar that displays the last year’s worth of archives as a monthly list. That works great.
BUT I would like then to list previous years as a yearly list, but skip out the current year.
Is there a way to do this?
For clarity, I have a list that does this –
Jan 2009
I’d want another list that does this
2008
2007Etc.. missing out 2009.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_get_archives but skip the current year’ is closed to new replies.