Support » Fixing WordPress » Is it possible to create tag groups?

  • Hello Everyone,

    i’m stuck with a project and can’t figure out how to do what they want.
    I hope someone here can help me out. Let me explain:

    Posts need to have tags assigned to them but the tags also need to be grouped.

    For example:

    I have a time period that is 1000-1500 late middleages (group-tag)
    Crusades (tag)
    Mongolian Empire (tag)
    Mayan (tag) (also in 1500-1700 renaissance)

    and the time period 1500-1700 renaissance (group-tag)
    Reformation (tag)
    Golden Age (tag)
    Mayan (tag) (also in 1000-1500 late middleages)

    Then you can sort on group-tag and also on the single tag.

    But i got stuck with a few things one of course is the group tags i could not find a solution for this myself and if i wanted to use taxonomy’s you cant have double names so mayan wil become mayan-2 or something. So sorting wont work anymore and display tags with the articles would result in “mayan, mayan-2” and that is not what they want.

    I hope someone can help me out, cause i’m going nuts with this problem.

    Thanks in advance,


Viewing 4 replies - 1 through 4 (of 4 total)
  • You can’t have 2 tags that have exactly the same name but are assigned to different posts. There is no way around that. You could have one called Mayan 1000-1500 and one called Mayan 1500-1700.

    What about using categories and tags instead of just tags?

    You may also want to look at this plugin

    Not the answer, only some thoughts.
    Terms have a term_group parameter. This feature not documented, and not fully baked. But it’s possible to use. You can check this plugin
    The problem in your case that one term can be assigned only to one term_group (as I understand). You can resolve this problem by combining tags and categories, as Jonas Grumby advised. You even can create special custom taxonomy for dubbing terms (but the plugin doesn’t support custom taxonomies).

    If you are php skilled person, try to research about WordPress custom taxonomy meta. For example link, link


    Thanks for the replies and suggestions.
    I’ll try it out.

    I forgot to mention one simple thing that can help – Custom Fields.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is it possible to create tag groups?’ is closed to new replies.