Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs Social Groups Advertise with usHelp Desk

Reply
LinkBack Thread Tools
Unread 1st Dec 2008, 04:25 PM   #1
Recovering Millionaire
War Room Member
 
John Taylor's Avatar
 
Join Date: 2003
Location: Wandering... Aimlessly...
Posts: 10,236
Blog Entries: 3
Thanks: 1,439
Thanked 2,765 Times in 764 Posts
Default Is There A WP Plugin That Allows Oldest Post To Show First?

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

John Taylor is offline   Reply With Quote
Unread 1st Dec 2008, 04:34 PM   #2
The Beer Hunter
War Room Member
 
Diana Lane's Avatar
 
Join Date: 2007
Location: United Kingdom.
Posts: 1,262
Thanks: 249
Thanked 452 Times in 250 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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

WordPress › WP-Sticky WordPress Plugins

Diana Lane is offline   Reply With Quote
Unread 1st Dec 2008, 04:56 PM   #3
Getting Smarter every Day
War Room Member
 
getsmartt's Avatar
 
Join Date: 2008
Location: Spokane, WA, USA.
Posts: 911
Thanks: 315
Thanked 160 Times in 120 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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”) ?>

LAST CHANCE! The Worlds Easiest Amazon Site Script is about to get Much Better - Lock in your Price! - Features + Instant Amazon Review Sites See Demo
Was mich nicht umbringt, macht mich stärker -Friedrich Wilhelm Nietzsche
getsmartt is offline   Reply With Quote
Unread 1st Dec 2008, 04:59 PM   #4
* Telekinetic Marketing *
War Room Member
 
Jared Alberghini's Avatar
 
Join Date: 2004
Location: The Matrix
Posts: 2,163
Blog Entries: 25
Thanks: 835
Thanked 1,162 Times in 464 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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

P.S.

Join The Future: Telekinetic Marketing
Jared Alberghini is offline   Reply With Quote
Unread 1st Dec 2008, 05:00 PM   #5
* Telekinetic Marketing *
War Room Member
 
Jared Alberghini's Avatar
 
Join Date: 2004
Location: The Matrix
Posts: 2,163
Blog Entries: 25
Thanks: 835
Thanked 1,162 Times in 464 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

Quote:
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

P.S.

Join The Future: Telekinetic Marketing
Jared Alberghini is offline   Reply With Quote
Unread 1st Dec 2008, 05:05 PM   #6
* Telekinetic Marketing *
War Room Member
 
Jared Alberghini's Avatar
 
Join Date: 2004
Location: The Matrix
Posts: 2,163
Blog Entries: 25
Thanks: 835
Thanked 1,162 Times in 464 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

Quote:
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

P.S.

Join The Future: Telekinetic Marketing
Jared Alberghini is offline   Reply With Quote
Unread 1st Dec 2008, 05:06 PM   #7
Getting Smarter every Day
War Room Member
 
getsmartt's Avatar
 
Join Date: 2008
Location: Spokane, WA, USA.
Posts: 911
Thanks: 315
Thanked 160 Times in 120 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

index.php is not a core file it is a theme file

LAST CHANCE! The Worlds Easiest Amazon Site Script is about to get Much Better - Lock in your Price! - Features + Instant Amazon Review Sites See Demo
Was mich nicht umbringt, macht mich stärker -Friedrich Wilhelm Nietzsche
getsmartt is offline   Reply With Quote
Unread 1st Dec 2008, 05:09 PM   #8
Auntie Jo !
 
Join Date: 2008
Location: U K
Posts: 561
Thanks: 24
Thanked 20 Times in 17 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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**

Kind Regards
Auntie Jo
A PROSPEROUS 2009 TO EVERYONE!!
Back Up Your Filez! or how about a . .PLR Pack! . . and an OTO Link Manager!
joblythe is offline   Reply With Quote
Unread 1st Dec 2008, 05:10 PM   #9
* Telekinetic Marketing *
War Room Member
 
Jared Alberghini's Avatar
 
Join Date: 2004
Location: The Matrix
Posts: 2,163
Blog Entries: 25
Thanks: 835
Thanked 1,162 Times in 464 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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

P.S.

Join The Future: Telekinetic Marketing
Jared Alberghini is offline   Reply With Quote
Unread 1st Dec 2008, 05:14 PM   #10
Starting Over
War Room Member
 
Steven Wagenheim's Avatar
 
Join Date: 2006
Location: Roselle, NJ, USA
Posts: 17,231
Blog Entries: 13
Thanks: 1,877
Thanked 7,540 Times in 2,949 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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.

Steven Wagenheim is online now   Reply With Quote
Unread 1st Dec 2008, 05:16 PM   #11
Getting Smarter every Day
War Room Member
 
getsmartt's Avatar
 
Join Date: 2008
Location: Spokane, WA, USA.
Posts: 911
Thanks: 315
Thanked 160 Times in 120 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

You are right Jared, I should have made that clear.

Quote:
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

LAST CHANCE! The Worlds Easiest Amazon Site Script is about to get Much Better - Lock in your Price! - Features + Instant Amazon Review Sites See Demo
Was mich nicht umbringt, macht mich stärker -Friedrich Wilhelm Nietzsche
getsmartt is offline   Reply With Quote
Unread 1st Dec 2008, 05:22 PM   #12
Recovering Millionaire
War Room Member
 
John Taylor's Avatar
 
Join Date: 2003
Location: Wandering... Aimlessly...
Posts: 10,236
Blog Entries: 3
Thanks: 1,439
Thanked 2,765 Times in 764 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

Wow! Thanks everyone.. I'll check
out the options and see which one
fits my specific requirements.

John

John Taylor is offline   Reply With Quote
Unread 8th Jan 2010, 04:06 PM   #13
Wordpress Warrior
War Room Member
 
fthomas137's Avatar
 
Join Date: 2008
Location: , , .
Posts: 518
Thanks: 42
Thanked 153 Times in 72 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

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

Quote:
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
Quote:
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.

fthomas137 is offline   Reply With Quote
Unread 4th May 2010, 05:18 PM   #14
All Work - No Play
 
MrDay's Avatar
 
Join Date: 2009
Location: TX
Posts: 338
Thanks: 39
Thanked 54 Times in 47 Posts
Default Re: Is There A WP Plugin That Allows Oldest Post To Show First?

Quote:
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.
MrDay is offline   Reply With Quote
Reply

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > The Warrior Forum > Main Internet Marketing Discussion Forum

Bookmarks

Tags
oldest, plugin, post, show

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:59 PM.