Extracting the Term_ID for the tag on tag.php (1 post)

  1. blowski
    Posted 7 years ago #

    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 returned

    Object ID #79
    , which wasn't the same number as the term id for that tag.

Topic Closed

This topic has been closed to new replies.

About this Topic