This guide shows you how to use and customize the shortcode for the Tag Groups Info feature in the Tag Groups plugin.
Shortcode #
[tag_groups_info]
Example #
[tag_groups_info group_id=3 info=label]
Data Types #
- string: A text. For identifiers that won’t be visible to visitors you often have to replace spaces with _ or -. If the string contains spaces, you need to wrap it in quotes.
- integer: A number without decimal places.
- 0 or 1: 0 turns the feature off and 1 on.
Parameters #
group_id #
Determines which groups to display. If you select more than one group, the result will be displayed in a table.
| accepted values | default | example shortcode |
|---|---|---|
| One group ID, a comma-separated list of IDs or the keyword “all” | all | group_id=1,3,6 |
taxonomy #
Restrict the information only to these taxonomies. Available are only taxonomies that have been activated in the Settings.
| accepted values | default | example shortcode |
|---|---|---|
| comma-separated list of taxonomy names | Taxonomies selected in the settings under “Basics”. | taxonomy=post_tag,product_tag |
html_id #
Value for id in the enclosing
