![]() | ![]() | ||||||||
| | #1 |
| Recovering Millionaire War Room Member Join Date: Jun 2003 Location: Wandering... Aimlessly...
Posts: 10,119
Blog Entries: 3 Thanks: 1,305
Thanked 2,634 Times in 699 Posts
|
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 |
| | |
| | |
| | #2 |
| The Beer Hunter War Room Member Join Date: Dec 2007 Location: United Kingdom.
Posts: 1,215
Thanks: 185
Thanked 399 Times in 217 Posts
| |
| | |
| | #3 |
| Getting Smarter every Day War Room Member Join Date: Feb 2008 Location: Spokane, WA, USA.
Posts: 912
Thanks: 316
Thanked 158 Times in 120 Posts
|
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(); ?> 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 | |
| | |
| | #4 |
| * Telekinetic Marketing * War Room Member Join Date: Nov 2004 Location: The Matrix
Posts: 2,171
Blog Entries: 25 Thanks: 864
Thanked 1,156 Times in 474 Posts
|
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 |
| | |
| | |
| | #5 | |
| * Telekinetic Marketing * War Room Member Join Date: Nov 2004 Location: The Matrix
Posts: 2,171
Blog Entries: 25 Thanks: 864
Thanked 1,156 Times in 474 Posts
| Quote: Jared | |
| | ||
| | |
| | #6 | |
| * Telekinetic Marketing * War Room Member Join Date: Nov 2004 Location: The Matrix
Posts: 2,171
Blog Entries: 25 Thanks: 864
Thanked 1,156 Times in 474 Posts
| Quote:
Plugins are the way to go (as long as one is available for the hack you are trying to accomplish.) - Jared | |
| | ||
| | |
| | #7 |
| Getting Smarter every Day War Room Member Join Date: Feb 2008 Location: Spokane, WA, USA.
Posts: 912
Thanks: 316
Thanked 158 Times in 120 Posts
|
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 | |
| | |
| | #8 |
| Auntie Jo ! Join Date: Jan 2008 Location: U K
Posts: 561
Thanks: 25
Thanked 20 Times in 18 Posts
|
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!! | |
| | |
| | #9 |
| * Telekinetic Marketing * War Room Member Join Date: Nov 2004 Location: The Matrix
Posts: 2,171
Blog Entries: 25 Thanks: 864
Thanked 1,156 Times in 474 Posts
|
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 |
| | |
| | |
| | #10 |
| Content & Copywriting Wiz War Room Member Join Date: Dec 2006 Location: Roselle, NJ, USA
Posts: 16,692
Blog Entries: 13 Thanks: 1,671
Thanked 6,781 Times in 2,576 Posts
|
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. |
| | |
| | |
| | #11 |
| Getting Smarter every Day War Room Member Join Date: Feb 2008 Location: Spokane, WA, USA.
Posts: 912
Thanks: 316
Thanked 158 Times in 120 Posts
| |
| 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 | |
| | |
| | #12 |
| Recovering Millionaire War Room Member Join Date: Jun 2003 Location: Wandering... Aimlessly...
Posts: 10,119
Blog Entries: 3 Thanks: 1,305
Thanked 2,634 Times in 699 Posts
|
Wow! Thanks everyone.. I'll check out the options and see which one fits my specific requirements. ![]() John |
| | |
| | |
| | #13 | |
| Wordpress Warrior War Room Member Join Date: Jul 2008 Location: , , .
Posts: 509
Thanks: 41
Thanked 144 Times in 67 Posts
|
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:
| |
| | ||
| | |
| | #14 | |
| All Work - No Play Join Date: Jul 2009 Location: TX
Posts: 335
Thanks: 38
Thanked 52 Times in 45 Posts
| Quote:
| |
| | |
![]() |
|
| Bookmarks |
| Tags |
| oldest, plugin, post, show |
| Thread Tools | |
| |
![]() |