• To start, I feel like this is something that is too complicated (and too rare a need) to actually exist, but I’m throwing it out there anyway.

    I have a set of related taxonomies for artists contributing to various works: ‘cover_artist’, ‘sound_artist’, etc. I can’t just throw them under the blanket umbrella taxonomy of ‘artist’, because the distinctions are important for displaying a work’s credits. However, some of my artists contribute in more than one role. This means their name appears in more than one taxonomy (and sometimes multiple times in a single work, though that’s not really my issue) and selecting their name within a taxonomy does not necessarily bring up all the works they’re associated with.

    Is there a plugin or hack that will allow me to code things so that the taxonomy term pages show all the works an artist has contributed to across multiple categories? Or does anyone have a suggestion for how to work around this issue? I could use a fresh perspective.

Viewing 2 replies - 1 through 2 (of 2 total)
  • We’re talking custom taxonomies here, right, not category or tag? I haven’t seen a plugin that will do what you’re describing, but there are widgets that do something similar.

    I’m just thinking out loud here, but could you have a taxonomy of “artist” or maybe just “people” that is not a parent to your custom taxonomies of “cover_artist,” “sound_artist,” etc., then on your taxonomy term pages test for membership in the “artist” taxonomy. If the term (person) belongs to the “artist” taxonomy; i.e., they are an artist, you also query for posts that include the taxonomy for the other categories as is shown in the Codex here?

    I guess you wouldn’t really need the additional term. You could just create an array of the taxonomies you want to include and iterate through them on the taxonomy term pages by default. It would be a little more server load than testing first, but it might save having to remember to add the artists to the “artist” taxonomy.

    Thread Starter Rose

    (@eos-rose)

    Yes, I’m talking about custom taxonomies, not categories or tags. And you’re right, there probably is a way to come up with some sort of query… I’ll have to think on this for a bit while I try to figure out where to start.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Managing taxonomy terms appearing in multiple taxonomies’ is closed to new replies.