[wp-trac] [WordPress Trac] #4129: Tag Clouds
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 10 19:46:18 GMT 2007
#4129: Tag Clouds
-------------------------+--------------------------------------------------
Reporter: mdawaffe | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: Template | Version: 2.2
Severity: normal | Keywords: tags has-patch
-------------------------+--------------------------------------------------
#3723 introduces tags to WP core. Here's a port of bbPress tag cloud
generating functions.
{{{wp_generate_tag_cloud( $tags, $args )}}}
Feed it prefetched tags ({{{get_tags()}}}) and some arguments that
determine the sizes of the fonts in the cloud. Generic function that can
accept whatever tags you throw into it (related tags, tags found on posts
in category X, tags that start with Q, least used tags, whatever).
{{{wp_tag_cloud( $args )}}}
Grabs top tags and feeds them to {{{wp_generate_tag_cloud()}}}.
{{{wp_parse_args( $args, $defaults )}}}
Helper function ryan and I would like to see fully adopted for 2.3.
Tweaks {{{get_tags()}}}.
Small bug and use of {{{wp_parse_args()}}}.
--
Ticket URL: <http://trac.wordpress.org/ticket/4129>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list