Support » Fixing WordPress » Reversing the Order of your posts

  • Timbo

    (@mikeswebwork)


    Hi,

    Due to the fact that most of my friends are clueless when it comes to blogging, i want have my travelblog show the first post first and not the most recent.

    I only want it in my archives section, so if someone clicks on say Spain…they read from day one and not the last post backwards.

    Any help links would be apreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • syncbox

    (@syncbox)

    I think you’d just build a query

    <?php
    if (is_archive()) {
    query_posts("order=ASC");
    }
    ?>

    I’m no php/wp expert, but I think if you put that just above the loop in your archive.php file, it should work

    Timbo

    (@mikeswebwork)

    looks like its working!!!! thanks

    Timbo

    (@mikeswebwork)

    hmm.maybe not

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reversing the Order of your posts’ is closed to new replies.