changing Posts to Descending order Old to New (3 posts)

  1. asgloki
    Posted 3 years ago #

    Hello, I am using the Twenty Eleven theme and I want my posts to be list old to new, can anyone tell me how I can do this please.
    I tried using plugins but they dont seem to work.

    Thank you in advance

  2. Timothy Jacobs
    Posted 3 years ago #

    Check this out. The file you are going to edit is index.php.

    Change this
    <?php if (have_posts()) : ?>

    query_posts($query_string . '&order=ASC');
    if (have_posts()) : ?>

    I would recommend the loop buddy plugin if you are having a lot of trouble. It isn't free, but it can be very helpful.

  3. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Make sure that you are using a child theme for any changes to your theme -- do NOT modify theme files directly - your changes will be lost when WP is updated.

Topic Closed

This topic has been closed to new replies.

About this Topic