[wp-trac] [WordPress Trac] #5726: Random order argument in wp_tag_cloud()

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 28 05:47:45 GMT 2008


#5726: Random order argument in wp_tag_cloud()
-------------------------+--------------------------------------------------
 Reporter:  fitztrev     |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.5      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 [http://codex.wordpress.org/Template_Tags/wp_tag_cloud wp_tag_cloud]
 currently accepts 2 'order' arguments: DESC & ASC.

 This patch adds 'RAND' capabilities to randomize the order of the tag
 cloud or list.

 Can prevent large font face tags from being next to each other when the
 user doesn't necessarily want to sort the tags alphabetically.

 Usage:

 `<?php wp_tag_cloud('order=RAND'); ?>`

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5726>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list