Support » Fixing WordPress » Descending Posts Old to New?

  • Resolved jayohxxv


    How do I have the utmost, top, first, posted entry the first/oldest post, then descending to new (the latest posts being added on to) ??

    Is this possible to set?

Viewing 2 replies - 1 through 2 (of 2 total)
  • To resort the order of posts, using the WordPress Default theme for example, in the wp-content/themes/default/index.php file, just before the line:
    <?php if (have_posts()) : ?>

    put this:

    <?php query_posts($query_string . '&orderby=date&order=ASC'); ?>

    The query_posts() article explains the arguments in detail.

    THANKS!, Michael.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Descending Posts Old to New?’ is closed to new replies.