WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to sort posts ascending in WP 2.5.1 ? (2 posts)

  1. b-717
    Member
    Posted 5 years ago #

    Hello,

    in older versions of WP I can edit a file looking like this:
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    $order='ASC';
    require('./wp-blog-header.php');
    ?>
    The variable $order says how to sort.

    What must I change in which file to see my posts sorted by date ascending ?

    Thx for your reply.
    Josef

  2. b-717
    Member
    Posted 5 years ago #

    It's the same like in older versions: change the index.php as shown.

    Josef

Topic Closed

This topic has been closed to new replies.

About this Topic