The MU forums have moved to WordPress.org

Reversing posts sequence (3 posts)

  1. mrcycling
    Member
    Posted 14 years ago #

    Perhaps I am blind and it is in the admin area, but how can we reverse the post sequence so the oldest comes first and the newest last ?

    One of our WPMU blogs is a trip diary and right now having the latest post first is great for folks following it live. But once the trip finishes and visitors are starting to read about the trip from scratch it would be nice to reverse the display order so the oldest date (trip start) comes first in the blog.

  2. miklb
    Member
    Posted 14 years ago #

    you might not be able to do that from the admin side of things, rather you would need to modify the theme's template.

    A simple query_posts order=ASC should suffice.

  3. mrcycling
    Member
    Posted 14 years ago #

    Haven't had much luck with the query_posts approach. Perhaps it is my coding attempts or perhaps the theme has some other controls built in elsewhere that control sequence. I am using AutoFocus theme.

    I added
    query_posts('order=ASC');

    before the line containing
    while ( have_posts() ) : the_post()

About this Topic

  • Started 14 years ago by mrcycling
  • Latest reply from mrcycling