Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Post Sorting Old(Top) to New(Bottom)


  #1  
Old Sep 11, 2009, 10:06 AM
Walt
 
20 posts · Sep 2009
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.
  #2  
Old Sep 13, 2009, 06:37 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
neithor - a plugin perhaps?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 14, 2009, 12:03 PM
Walt
 
20 posts · Sep 2009
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.
  #4  
Old Sep 14, 2009, 12:09 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
ummm that code is not in index.php in Atahualpa 3.4.2
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 14, 2009, 12:29 PM
Walt
 
20 posts · Sep 2009
@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.

Bookmarks

Tags
post sorting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Space between Footer Border top and widget border bottom?? norwichkaren Atahualpa 3 Wordpress theme 12 Sep 25, 2009 07:32 AM
[SOLVED] Navigation OK at bottom but erroneous at top ardee New Versions, & Updating 2 Jul 15, 2009 03:03 PM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 02:58 PM
[SOLVED] How do I move next/previous navigation to the bottom of the post evany Post-Kicker, -Byline & -Footer 1 Jun 7, 2009 06:41 AM
[SOLVED] Add top and bottom image for widget conon Sidebars & Widgets 5 Mar 25, 2009 10:45 AM


All times are GMT -6. The time now is 03:39 PM.


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