WordPress.org

Support

Support » Themes and Templates » changing Posts to Descending order Old to New

changing Posts to Descending order Old to New

  • 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
    Anthony

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check this out. The file you are going to edit is index.php.

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

    <?php
    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.

    WPyogi

    @wpyogi

    Forum Moderator

    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.

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