[wp-trac] [WordPress Trac] #4798: Give tag cloud links a particular class

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 22 14:10:40 GMT 2007


#4798: Give tag cloud links a particular class
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |       Owner:  anonymous     
     Type:  defect          |      Status:  new           
 Priority:  normal          |   Milestone:  2.3 (trunk)   
Component:  Administration  |     Version:  2.3           
 Severity:  normal          |    Keywords:  tag-cloud tags
----------------------------+-----------------------------------------------
 The tag cloud links needs some way to identify the term ids of its links,
 in case one wants to do ajaxy things with the tag cloud.

 My attached patch adds a class to the link in the form of {{{class="tag-
 link-5"}}} where that link's term id is 5.  (I've used class instead of id
 because someone might invoke wp_generate_tag_cloud more than once per page
 with different arguments, which could duplicate ids).

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


More information about the wp-trac mailing list