• Hello all,

    Is there a way to make wordpress display posts oldest to newest instead of the other way around?

    Thanks,
    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • Keilya

    (@fantasycrusader)

    Yesh. Check out Custom Query String: http://wordpress.org/support/topic/141120

    Add…

    query_posts($query_string . “&order=ASC”);

    ..within the PHP tags and before the loop.

    This would need to be done on index.php and for any files pertaining to archives or categories as well.

    Thanks adam-s

    Using WP2.5, in the Main Index Template of my theme, I added these lines:
    <!– This reverses the order of post display from Oldest to Newest for things like events –>
    <?php query_posts($query_string . “&order=ASC”); ?>

    just before the this line:
    <!–the loop–>

    and it reversed the order!

    I also installed the plugin ‘the future is now’ which allows future dated posts to be displayed:
    http://wordpress.org/extend/plugins/the-future-is-now/#post-2682

    So now I can date my events with their actual date, and they will show up in the order they should (from most current to the farthest away).

    Any plugins out there that can be used to auto-delete (or auto-unpublish) a post on specific date, so I don’t have to manually remember to go and remove it once the event has passed?

    Thanks

    This is great! Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Oldest to newest…’ is closed to new replies.