Using the Tag Meta Box on the Post Edit Screen

This is a feature of the Premium plan. Tag Groups Premium

The default box where you add tags naturally does not use tag groups. Therefore, the plugin offers a “Tag Meta Box” that helps you edit post tags separated by groups. The Meta Box is by default off. You can activate and configure it in the Back End settings. The Meta Box works both with the Classic and the Gutenberg editors.

The meta box can be adjusted like the other boxes on the post edit screen: You can move it around (below the text box and into the sidebar), fold it and hide it by deselecting it in the “Screen Options”1 on the very top. If you use the plugin’s meta box, it is recommended to disable the default tag box in the settings.

Tag Groups Premium - Meta Box - colored tags

In the Meta Box you can open particular tag groups, or open all by clicking on the arrow-down icon on the right side of the box. The arrow-up icon closes all groups again.

Alternatively, you can choose to open some or all tag groups by default and hide the open and close buttons.

Once a group is open, the tag input field is already populated with tags that belong to that group for that post. Click into the field and click on one of the tags that appear in the menu, or start typing to see all tags of this group that match the text.

When you type a tag, you can finish it by pressing Enter or by typing a comma.

Tags can be edited by clicking into the name or by moving the cursor into the name.

On the right of the tag group name you find two buttons: The left one adds all tags of this group, the right one closes this group in the editor.

Depending on the settings, you may also add new tags or add a tag that is currently in another group, in order to move it to this group. Added and moved tags will be marked green and yellow. If the settings allow you to move tags, you can also move them by drag and drop.2

Tags appear in their respective groups, as set on the tags page. If a tag is assigned to more than one group, then all of these groups are available in the meta box, but you can choose to use this tag only with one of these groups in this post. For example, the tag “Leonardo da Vinci” may be assigned to the groups “painters” and “scientists” on the tags page. In a post about his paintings, however, you may want to use it only in the group “painters.”

Nothing is final until you save that post. Until then, no new tags will be created, no tags moved to other groups and no post tags changed.

Only when you save the post, it will receive the new tags and keep the old tags that it had before and that were hidden in groups that you kept close.

Please note that other plugins and themes don’t use tag groups. For them, all tags form just one unsorted group. If you want to display them in groups to your visitors, you need to use the Gutenberg blocks orĀ shortcodes of this plugin or modify your theme. You can also display post tags under the posts sorted by groups.

Additional notes and restrictions

Note 1: Since tags are separated in the input field by comma (“,”), tag names cannot contain this character in order to work with the meta box.

Note 2: The meta box works only correctly if tag names are unique. It is not sufficient if tags with identical names are differentiated by their “slugs” (piece of the link). Please note that WordPress considers also two tags that differ only by capitalization as duplicates and refuses to accept more than one of each variation.

Note 3: If you display both the default tag box and the Tag Meta Box, you should avoid any contradictory or double actions, like adding the same tag to both boxes or renaming a tag in one box and removing the same tag in the second tag box. It is strongly recommended to use only one of the two tag boxes.

Note 4: If you add a tag to a post while the Tag Meta Box is turned off in the settings, or if you add it with Quick Edit in the list of posts, then this tag will be added for all of the groups that the tag is assigned to. That means that without the Tag Meta Box you won’t be able to fine-tune the groups of a tag for a particular post.
If you apply all tags to posts with the same groups that they have on the tags page, then it is perfectly fine to disable the Tag Meta Box.

Footnotes

  1. Only available in the classic editor, not in Gutenberg.[]
  2. Only with a mouse, currently not possible on touch screens.[]