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 » Montezuma Theme »

[SOLVED] Sorting by modification date


 
Prev Previous Post   Next Post Next
  #1  
Old Feb 16, 2013, 05:37 AM
arteny
 
22 posts · Nov 2012
Russia, Voronezh
Search [SOLVED] Sorting by modification date

How to do it?
I can do it adding
if( have_posts() ) :
// begin of my code >>
if (is_main_query()) :
query_posts($query_string.'orderby=modified');
endif;
// << end of my code
into begin of bfa_loop function (montezuma/includes/template_tags.php file)
but in this case all posts are shown each time not depend on if I select some tag or category. in correct order, but I don't need them all in those cases.

Last edited by arteny; Feb 16, 2013 at 09:07 AM.
 

Bookmarks

Tags
modification date, sorting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Menu drop down modification - remove arrows & extra space dorigen Page & Category Menu Bars 31 Aug 16, 2014 11:10 AM
PATCH 373-03: date-modified in post/page info items returns the date published juggledad Old Version fixes and change logs 0 Dec 30, 2011 06:41 PM
Modification article lecalve Atahualpa 3 Wordpress theme 0 Mar 23, 2010 04:33 AM
Page Menu Bar Sorting Dem Page & Category Menu Bars 5 Mar 6, 2009 03:22 PM


All times are GMT -6. The time now is 08:57 AM.


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