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

Random Post Order in Montezuma


  #1  
Old Jul 14, 2013, 02:28 AM
A1Guy
 
6 posts · Apr 2013
Hello,

I am trying to randomize post order in montezuma theme. I tried placing this line in function bfa_loop of template_tags.php as the first line

query_posts($query_string . '&orderby=rand');

This randomizes the post order on all pages including category pages. However, once this line is here, the category filter stops working e.g. selecting a single category would show posts from all categories including posts that do not belong to selected categories at all.

What is the recommended way to achieve random post order in montezuma while still keeping the category filters working?

Thanks

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
will header images do Javascript rotation and crossfade with a random order of images adamslc8 Header configuration & styling 3 Oct 14, 2011 12:58 PM
Display a set of widgets in random order? damian Sidebars & Widgets 2 May 12, 2011 04:10 PM
my-category-order plugin order by 'order' not working darrenk Page & Category Menu Bars 3 Mar 24, 2010 06:56 AM
Use random image code to display random flash banner? blueprairie Header configuration & styling 0 Mar 18, 2010 01:30 PM
[SOLVED] random order of posts truthbrother Atahualpa 3 Wordpress theme 2 Feb 11, 2010 03:41 PM


All times are GMT -6. The time now is 09:52 PM.


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