Proplems with Displaying posts in certain orders (i’m stuck!)
I posted a request for a solution for this problem in the mod section and was unable to get a solution. I thought this may be a more appropriate area to post my question.
I have been working pretty hard to display my posts in random order when a category of posts is selected from the menu. I’ve found plugins to modify the lists in the menu. and I’ve found resources to list the displayed posts by name,date,time,descending,ascending… and all other sorts of order. I can’t find the correct way to make my posts display in a random order.
All of the previous orders where accomplished by using:
<?php query_posts($query_string . “&order=ASC”); ?>
I put this in the archive.php file right before the loop. Worked like a charm. When I try to make it RANDOM rather than ASCENDING I fail…. Miserably.
I’ve tried RAND, RAND(), RANDOM, random, rand()….ect.
I’m sure I’m missing something, and I’m sure there is a very bright person here who can possibly help. It’d be much appreciated. I’m absolutely stuck.
Thanks soooo much in advance.
- The topic ‘Proplems with Displaying posts in certain orders (i’m stuck!)’ is closed to new replies.