Is There A WP Plugin That Allows Oldest Post To Show First?

by 13 comments
I want to set up one of my blogs so that the oldest post shows at
the top of the page and subsequent posts are displayed in order.


Does anyone know of a plugin or hack that would let me make that
happen?

Thanks

John
#internet marketing #oldest #plugin #post #show

  • Profile picture of the author Diana Lane
    Would the WP-Sticky plugin do the job for you?

    WordPress › WP-Sticky WordPress Plugins
  • Profile picture of the author getsmartt
    Reverse post order

    In your index.php file, look for this bit of code:

    Code:
    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
    Right before that line, add this code:

    Code:
    <?php query_posts($query_string . “&order=ASC”) ?>
  • Profile picture of the author Jared Alberghini
    This plugin will do the trick for you (and more):

    WordPress › AStickyPostOrderER WordPress Plugins

    You can also find a great list of other ways to do this here:

    http://perishablepress.com/press/200...ss-post-order/


    Hope that's what you're looking for John,

    - Jared
  • Profile picture of the author Jared Alberghini
    Originally Posted by Diana Lane View Post

    Would the WP-Sticky plugin do the job for you?

    WordPress › WP-Sticky WordPress Plugins
    Last time I checked, this plugin just allows you to add 'stickies' that are displayed above all other posts, kind of like how the stickies work here at WF.

    Jared
  • Profile picture of the author Jared Alberghini
    Originally Posted by getsmartt View Post

    Reverse post order

    In your index.php file, look for this bit of code:

    Code:
    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
    Right before that line, add this code:

    Code:
    <?php query_posts( . “&order=ASC”) ?>
    editing the core is not a good idea... unless you want to have to remember the code and re-edit the index.php file everytime you upgrade to the latest WP version.

    Plugins are the way to go (as long as one is available for the hack you are trying to accomplish.)

    - Jared
  • Profile picture of the author getsmartt
    index.php is not a core file it is a theme file
  • Profile picture of the author joblythe
    Here's a one that works

    Custom Query String Reloaded for Wordpress 2.3 with tag support @ MoshuBlog

    You can specify individual categories, number of posts to show and re-arrange post date order.

    **EDIT**
    **tested on v2.6.4 and working**
  • Profile picture of the author Jared Alberghini
    My bad James, when you said index.php and didn't specify wp-content/themes/YourTheme/index.php I assumed you were talking about the core index.php file.

    - Jared
  • Profile picture of the author Steven Wagenheim
    Folks, I'm looking at a lot of these plugins and the docs say only good up
    until 2.5.1 so if you're on the latest release (2.6.5) these may not work.

    So John, make sure you check the compatibility of the plugin to your
    Wordpress version you're using.
  • Profile picture of the author getsmartt
    You are right Jared, I should have made that clear.

    Originally Posted by Jared Alberghini View Post

    My bad James, when you said index.php and didn't specify wp-content/themes/YourTheme/index.php I assumed you were talking about the core index.php file.

    - Jared
  • Profile picture of the author John Taylor
    Wow! Thanks everyone.. I'll check
    out the options and see which one
    fits my specific requirements.

    John
  • Profile picture of the author fthomas137
    If you are still wondering about this, (I do see the post is old), the AStickyPostOrderER works very well up to 2.9.1.

    Frank

    Originally Posted by Jared Alberghini View Post

    This plugin will do the trick for you (and more):

    WordPress › AStickyPostOrderER WordPress Plugins

    You can also find a great list of other ways to do this here:

    6 Ways to Customize WordPress Post Order ? Perishable Press


    Hope that's what you're looking for John,

    - Jared
    Originally Posted by Steven Wagenheim View Post

    Folks, I'm looking at a lot of these plugins and the docs say only good up
    until 2.5.1 so if you're on the latest release (2.6.5) these may not work.

    So John, make sure you check the compatibility of the plugin to your
    Wordpress version you're using.
  • Profile picture of the author MrDay
    Originally Posted by Jared Alberghini View Post

    This plugin will do the trick for you (and more):

    WordPress › AStickyPostOrderER WordPress Plugins

    You can also find a great list of other ways to do this here:

    6 Ways to Customize WordPress Post Order ? Perishable Press


    Hope that's what you're looking for John,

    - Jared
    This was exactly what I was looking for. I was about to try some coding but I would much rather use a plugin.

Next Topics on Trending Feed