WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Descending Posts Old to New? (3 posts)

  1. jayohxxv
    Member
    Posted 4 years ago #

    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?

  2. MichaelH
    Member
    Posted 4 years ago #

    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.

  3. jayohxxv
    Member
    Posted 4 years ago #

    THANKS!, Michael.

Topic Closed

This topic has been closed to new replies.

About this Topic