Extracting the Term_ID for the tag on tag.php
-
I want to build a page for each tag, and include a cloud of tags related to the tag of the current page.
Hence, I’m using
wp_tag_cloud('include=term_id')
, but I’m not sure how to extract ‘term_id’ on the tag page. I tried to use ‘get_term_by’, but this returnedObject ID #79
, which wasn’t the same number as the term id for that tag.
- The topic ‘Extracting the Term_ID for the tag on tag.php’ is closed to new replies.