Support » Fixing WordPress » Find the term_ids for tags
9 years, 2 months ago
I’m trying to figure out how and where to find the term_ids for tags so that I can use the following function:
<?php wp_tag_cloud(‘smallest=8&largest=22&number=30&orderby=count&include=???’); ?>
The issue comes in knowing the term ids to include for tags, which also would come in handy for creating custom tag-13.php templates, for example.
Finding the ids for categories, users, etc… is as easy as looking in the admin, but where would I go about finding them for tags?
Using phpMyAdmin, look at the term_id in the wp_term_taxonomy table.
I managed to find them in my wp_terms database table. The question is now, is there not an easier way to find the term ids for tags? Is anything planned for 2.5?
You just beat me by a few seconds Michael. 🙂
Eventually there’ll be some tag management features. Here’s at least one trac changeset that’s been committed.