WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Ordering of Posts

[Resolved] Ordering of Posts

  • Fellow WordPress bloggers,

    The blog I’m working on will launch with several articles. While the blog is new, I’d like the sort order of the posts to be oldest to newest.

    How do I change the default which is newest to oldest?

    Thanks for the help,

    Shai

Viewing 2 replies - 1 through 2 (of 2 total)
  • Couple (of the easier) ways to do this:

    1. Add this line to your wp-config.php:

    $order = 'ASC';

    2. Just before The Loop in your active theme’s index.php, insert:

    <?php query_posts('order=ASC'); ?>

    Kafkaesqui,

    Thank you.

    I used method your method 1 and it worked.

    Shai

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Ordering of Posts’ is closed to new replies.