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.
I have a time period that is 1000-1500 late middleages (group-tag)
Mongolian Empire (tag)
Mayan (tag) (also in 1500-1700 renaissance)
and the time period 1500-1700 renaissance (group-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,
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_groupparameter. This feature not documented, and not fully baked. But it’s possible to use. You can check this plugin http://wordpress.org/extend/plugins/tag-or-category-term-group-order/
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).
Thanks for the replies and suggestions.
I’ll try it out.
- The topic ‘Is it possible to create tag groups?’ is closed to new replies.