Forums

How to make older post show first? (8 posts)

  1. die4me
    Member
    Posted 2 years ago #

    I want to know how to make it show older post first.

    For example i make a category and i make a post which gives instructions on how to do stuff like step 1
    then i post step 2 and step 3 and so on.
    What i want is it to show the post step 1 first so as i add more
    step post at a later date people don't have to back track to the first
    post and can just go step 1 and so on.

    Having it show the last step makes it look bad and having to change the dates doesn't let me show the newest step in recent post

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You'd need to create a custom query along the lines of

    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args= array(
    	'orderby' => 'date',
    	'order' => 'ASC',
    	'paged' => $paged
    );
    query_posts($args);
    ?>

    and place it above the Loop in the relevant theme template files.

    http://codex.wordpress.org/Template_Tags/query_posts

  3. vtxyzzy
    Member
    Posted 2 years ago #

    Another alternative would be to use two loops as shown in this tutorial.

  4. Dene
    Member
    Posted 2 years ago #

    Yet another option.....

    If you only have a few posts to reorder and you don't want to change the template files, you might consider the post mash plugin:


    post mash link

    Once you install and activate the plugin, you'll have a new option under posts called 'postMash'. You can drag and drop the posts to appear in the desired order.

    Good luck.

  5. sebastianotero
    Member
    Posted 2 years ago #

    I have the post mask plug installed but nothing happens after I reorder the posts....help!

  6. Saildude
    Member
    Posted 2 years ago #

  7. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    You can set your desired post order with the help of this plugin:

    http://wordpress.org/extend/plugins/custom-post-order/

    Thanks,

    Shane G.

  8. sebastianotero
    Member
    Posted 2 years ago #

    Thanks. Custom Post order, nothing happens when I use it. It doesnt execute what its supposed to do.

    This has become amazingly difficutlt!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags