WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to list all tags (terms) related to posts from a specific category (3 posts)

  1. nelero
    Member
    Posted 5 years ago #

    Hi,
    i'd like to find all tags (or terms) related to all posts from a category :
    ex :
    Post 1 is tagged as 'strong', 'enough' and is in category 1 and 2
    Post 2 is tagged as 'enough', 'tough' and is in category 2
    Post 3 is tagged as 'not', 'more' and is in category 3
    Post 4 is tagged as 'what', 'else' and is in category 1

    So if i want to find all terms related to posts in category 1, the query will return : 'strong', 'enough','what', 'else'

    But i can't build the query even with the doc and my data in wordpress database.... :(

    Can anyone suggest me something to start ?
    thanks :)

  2. nelero
    Member
    Posted 5 years ago #

  3. mores
    Member
    Posted 5 years ago #

    Thanks for the follow-up.
    But I don't get it:)
    I want to have a list of tags specific to that category when I'm in a category overview or on a post of that category.
    What#s your final code?

Topic Closed

This topic has been closed to new replies.

About this Topic