WordPress.org

Ready to get started?Download WordPress

Forums

list of years, exept current year (2 posts)

  1. stratboy
    Member
    Posted 4 years ago #

    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!

  2. stratboy
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags