Opened 19 years ago
Closed 19 years ago
#4798 closed defect (bug) (fixed)
Give tag cloud links a particular class
| Reported by: | filosofo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Administration | Version: | 2.3 |
| Severity: | normal | Keywords: | tag-cloud tags has-patch commit |
| Cc: | Focuses: |
Description
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).
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
+1