Ticket #5726 (closed enhancement: fixed)
Random order argument/Hook in wp_tag_cloud()
| Reported by: | fitztrev | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
 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'); ?>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

