WordPress.org

Support

Support » Themes and Templates » list of years, exept current year

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:

    ARCHIVES

    2009
    2008
    2007
    ..

    —–

    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?

    —–

    Thank you!

Viewing 1 replies (of 1 total)
  • HEY, THIS IS DEFINITELY ONE OF THE WORST DEVELOPER FORUM I EVER USED! THE REALLY MOST OF MY THREADS DO NOT RECEIVE ANSWERS!

    Such a BIG PLAYER like WP should definitely have a really, really better support forum, period.

Viewing 1 replies (of 1 total)
  • The topic ‘list of years, exept current year’ is closed to new replies.
Skip to toolbar