[SOLVED] Post Sorting Old(Top) to New(Bottom)
Okay, I'm feeling really dumb right now. I can't figure out why posts are sorting from OLD to NEW.
Is this a option in Atahaulpa or in WordPress? Thanks in Advance. |
neithor - a plugin perhaps?
|
I figured it out. I'm surprised someone else hasn't asked or answered this question.
v 3.4.2 Open the theme Index.php Find (Line 14ish) <?php query_posts($query_string . '&orderby=date&order=ASC'); ?> change to; <?php query_posts($query_string . '&orderby=date&order=desc'); ?> Save it! Your new posts show be at the top of the page and older posts at the bottom.:) |
ummm that code is not in index.php in Atahualpa 3.4.2
|
@Juggledad - You're right, I must have been on the crack! I think I added the code awhile ago, with that said.
To change your posts to Ascending to Descending order v 3.4.2 Open the theme Index.php Insert code around line 14ish... (I'm not a coder so this may not be the best place) <?php query_posts($query_string . '&orderby=date&order=ASC'); ?> Save it! Your OLD posts should be at the top of the page and newer posts at the bottom.:) |
All times are GMT -6. The time now is 07:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.