WordPress.org

Ready to get started?Download WordPress

Forums

Archives ascending? (6 posts)

  1. salami
    Member
    Posted 8 years ago #

    Is there a way to have archives displayed in ascending order with WP 2.0? There don't seem to be new Template Tag Parameters like 'sort_order=ASC', as putting this after 'wp_get_archives' doesn't make any difference. Any other way?

  2. MichaelH
    Member
    Posted 8 years ago #

    Maybe something here:
    Template_Tags/query_posts

  3. salami
    Member
    Posted 8 years ago #

    I hadn't tried that one yet, thanks!
    So I put '<?php query_posts('order=ASC'); ?>' in my archive.php above the loop, but when I click on an older month now, it starts by displaying the first entry ever made, not the first entry of the month. I haven't found out yet how to change this, so if somebody could help me I'd be very glad. (Although this might be the wrong thread as it isn't a WP 2.0 problem.)

  4. MichaelH
    Member
    Posted 8 years ago #

    Maybe Example 2 in the Template Tags/query_posts article is useful?

  5. salami
    Member
    Posted 8 years ago #

    Not really, as this displays only the current month of the current year. So no matter which month you select you always get december.

  6. Ilona62
    Member
    Posted 8 years ago #

    I think, here is the solution for this problem: http://mattread.com/projects/wp-plugins/custom-query-string-plugin/

    It´s very easy to handle.

    Greetings
    Ilona

Topic Closed

This topic has been closed to new replies.

About this Topic