Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Reverse post order (oldest first) without affecting static homepage

Prev Previous Post   Next Post Next
Old Jan 22, 2011, 07:10 AM
4 posts · Jan 2011
Reverse post order (oldest first) without affecting static homepage


Really hope someone can help me with this...

I want to reverse the order of the posts on my posts page.

I've tried this solution:
In your index.php file, look for this bit of code:

<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

Right before that line, add this code:

<?php query_posts($query_string . "&order=ASC") ?>
I also tried putting this line of code in ATO>center column>above loop.

The problem is that the static homepage starts displaying posts as well, rather than the static text I want it to.

Please could someone help me out with this?

Many thanks,



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Atahualpa and share this/add to any plugins affecting recent post widget in sidebar awoppub Plugins & Atahualpa 1 Jun 29, 2010 04:28 AM
my-category-order plugin order by 'order' not working darrenk Page & Category Menu Bars 3 Mar 24, 2010 06:56 AM
[SOLVED] First/oldest post link? ctenos Sidebars & Widgets 4 Sep 6, 2009 09:48 AM
Posts display in reverse order? WayneEarl Installing & running WordPress 1 Aug 10, 2009 04:38 AM
Atahualpa: Static homepage two times caoba Page & Category Menu Bars 1 Mar 12, 2009 11:52 PM

All times are GMT -6. The time now is 11:48 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.