![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
This question is for a FCG query however I think it relates to general wordpress coding.
The FCG displays the images in latest post first order. I am wanting to make it select random posts. The guys over at the FCG site dont know how to do it, but they said Quote:
Code:
<?php query_posts('category_name=' . get_option('gallery-category') . '&showposts=' . get_option('gallery-items')); ?>
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make post order random | frascona | General Discussion | 5 | 08-22-2010 10:24 PM |
| Thumbnail for random category random post at the bottom of my post | craftpassion | General Discussion | 6 | 04-13-2010 09:37 PM |
| Showing random post... but these. | Herrnilsson | General Discussion | 14 | 03-02-2010 06:13 AM |
| Random code in post URL...? | aaron49 | General Discussion | 1 | 12-18-2009 08:39 PM |
| Random Post | babrees | General Discussion | 2 | 07-08-2009 11:24 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us