list of years, exept current year
Hi! I’d really like to have a list o year-archive links in the sidebar, but without the current year (2010), like this:
wp_get_archives() seems not to have the option of exclude some year, I can only get all the years (wp_get_archives(‘type=yearly’););
Is there a way, maybe using query_posts() on a new WP_Query instance?
Any other way?
- The topic ‘list of years, exept current year’ is closed to new replies.