Support » Themes and Templates » current_category Tag Cloud

  • brihanrohan

    (@brihanrohan)


    I am looking for a way to filter my tag cloud to show just the tags that exist for the category that you are currently in. Here is my hypothetical solution:

    1. Use standard tag cloud widget when on front page, archives, search.

    2. For category, and single post views, inside the category.php and single_post.php files, load a sidebar with a tag cloud fitlered to only show tags of the current category(ies).

    My question is:
    All of the tag functions seem to only work on the current post. How do I grab a list of all tags belonging to all the posts in the current category?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘current_category Tag Cloud’ is closed to new replies.