Reply
LinkBack Thread Tools Search this Thread
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,231
Blog Entries: 3
Thanks: 1,439
Thanked 2,770 Times in 765 Posts
Default
Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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,269
Thanks: 255
Thanked 485 Times in 261 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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

WordPress › WP-Sticky WordPress Plugins


Plot short fiction, long fiction, even outline non-fiction * Edit the question prompts to suit your genre * Easily export text and image files for use with your word processor or Scrivener.
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: 913
Thanks: 314
Thanked 160 Times in 120 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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

Was mich nicht umbringt, macht mich stärker
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?
Share on: 
fb share twitter share gplus share more share

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?
Share on: 
fb share twitter share gplus share more share

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?
Share on: 
fb share twitter share gplus share more share

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: 913
Thanks: 314
Thanked 160 Times in 120 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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

Was mich nicht umbringt, macht mich stärker
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?
Share on: 
fb share twitter share gplus share more share

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?
Share on: 
fb share twitter share gplus share more share

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,878
Thanked 7,594 Times in 2,966 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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 offline   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: 913
Thanks: 314
Thanked 160 Times in 120 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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

Was mich nicht umbringt, macht mich stärker
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,231
Blog Entries: 3
Thanks: 1,439
Thanked 2,770 Times in 765 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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: 522
Thanks: 42
Thanked 156 Times in 73 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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: 341
Thanks: 39
Thanked 55 Times in 48 Posts
Default
Re: Is There A WP Plugin That Allows Oldest Post To Show First?
Share on: 
fb share twitter share gplus share more share

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 online now   Reply With Quote
Reply

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

Bookmarks

Tags
oldest, plugin, post, show

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:36 PM.