Valentines Day Sale

Save 25% on TaxoPress with this coupon:

LOVEWORDPRESS

Buy Now
TaxoPress
reorder
  • Features
  • Docs
  • Blog
  • Support
  • Login
  • Get TaxoPress Pro

Tag Groups: Getting Started

  • Introduction to Tag Groups
  • Installation of Tag Groups
  • First Steps With Tag Groups
  • Design and Colors in Tag Groups
  • Feature Overview (Free Version)
  • Glossary of Useful Words for Tag Groups

Working with Tag Groups

  • Creating and Editing Groups
  • Working with Tags
  • Use the Posts Filter for Tags
  • Use the Groups Filter for Tags
  • Bulk Actions in Tag Groups
  • Back End Post Filter
  • Organizing Groups with a Parent Level
  • Using the Tag Meta Box on the Post Edit Screen
  • Translating Tag Group Names with WPML

Tag Groups: Front End Features

  • Integration with WooCommerce
  • Post Tags: Show Tag Groups on Posts
  • Theming: Design and Colors
  • Using the Post Filter on the Front End
  • How To Use Gutenberg Blocks With Tag Groups
  • How to Use Shortcodes With Tag Groups

Accordion Tag Cloud

  • Accordion Tag Cloud – Overview
  • Accordion Tag Cloud – Gutenberg Block
  • Accordion Tag Cloud – Shortcode Parameters

Alphabetical Tag Index

  • Alphabetical Tag Index – Overview
  • Alphabetical Tag Index – Gutenberg Block
  • Alphabetical Tag Index – Shortcode Parameters

Alphabetical Tag Cloud

  • Alphabetical Tag Cloud – Overview
  • Alphabetical Tag Cloud – Gutenberg Block
  • Alphabetical Tag Cloud – Shortcode Parameters

Tabbed Tag Cloud

  • Tabbed Tag Cloud – Overview
  • Tabbed Tag Cloud – Gutenberg Block
  • Tabbed Tag Cloud – Shortcode Parameters

Tag Groups Info

  • Tag Groups Info – Overview
  • Tag Groups Info – Shortcode Parameters

Tag List

  • Tag List – Overview
  • Tag List – Gutenberg Block
  • Tag List – Shortcode Parameters

Dynamic Post Filter (Pro)

  • Dynamic Post Filter – Overview
  • Dynamic Post Filter – Gutenberg Block
  • Dynamic Post Filter – Shortcode Parameters

Post List (Pro)

  • Post List – Overview
  • Post List – Gutenberg Block
  • Post List – Shortcode Parameters

Shuffle Box (Pro)

  • Shuffle Box – Overview
  • Shuffle Box – Gutenberg Block
  • Shuffle Box – Shortcode Parameters
  • Create a Custom Color Scheme for Shuffle Box
  • Hide the “not assigned” button in the Shuffle Box

Simple Tag Cloud (Pro)

  • Simple Tag Cloud – Overview
  • Simple Tag Cloud – Gutenberg Block
  • Simple Tag Cloud – Shortcode Parameters

Tag Cloud Search (Pro)

  • Tag Cloud Search – Overview
  • Tag Cloud Search – Gutenberg Block
  • Tag Cloud Search – Shortcode Parameters

Tag Groups Menu (Pro)

  • Tag Groups Menu – Overview
  • Tag Groups Menu – Shortcode Parameters

Toggle Post Filter (Pro)

  • Toggle Post Filter – Overview
  • Toggle Post Filter – Overview of Shortcode Parameters
  • Toggle Post Filter, Body (Posts) – Gutenberg Block
  • Toggle Post Filter, Body (Posts) – Shortcode Parameters
  • Toggle Post Filter, Text Search – Gutenberg Block
  • Toggle Post Filter, Text Search – Shortcode Parameters
  • Toggle Post Filter, Slider Button – Gutenberg Block
  • Toggle Post Filter, Slider Button – Shortcode Parameters
  • Toggle Post Filter, Order Menu, Gutenberg Block
  • Toggle Post Filter, Order Menu – Shortcode Parameters
  • Toggle Post Filter, Menu – Gutenberg Block
  • Toggle Post Filter, Menu – Shortcode Parameters
  • Toggle Post Filter, Reset Button – Shortcode Parameters

Tag Groups: For Developers

  • Constants
  • Modifying the Post Query
  • Modifying the Term Query
  • Theme Modifications (PHP)
  • Filters and Actions (Hooks)
  • REST API

Tag Groups: Settings

  • Home
  • Taxonomies
  • Front End
  • Back End
  • Tools
  • Troubleshooting

Tag Groups: Instructional Videos

  • Installation and Getting Started (Free Version)
  • Installation and Setup
  • 1. Installation and First Use
  • 2. How to use the Tag Meta Box
  • 3. How to use the Shuffle Box
  • 4. How to use the Toggle Post Filter
  • Videos About the Premium Version

Tag Groups: Frequently Asked Questions

  • How to … ? Which feature is the right for me?
  • Can I use the plugin with more than one taxonomy?
  • Can I use the plugin with pages?
  • Can I use the plugin with categories?
  • Can I use tag groups with custom taxonomies?
  • Can I have multiple levels of tag groups (parents)?
  • Where can I find a WordPress developer or web designer for customization?
  • How to display tags in a custom sort order?
  • How do I add custom CSS?
  • How to Make the Alphabetical Tag Index or the Tag List Responsive?
  • Can I use tag groups with custom taxonomies?
  • Can I have multiple levels of tag groups (parents)?
  • Where do I find the IDs of WordPress tags, posts or categories?
  • How can I display a tag cloud in a widget?
  • Can I use the plugin with more than one taxonomy?
  • Can I use the plugin with categories?
  • Can I use the plugin with page tags?
  • What are the minimum system requirements to install Tag Groups?
  • How can I customize a Gutenberg Block beyond the given options?
  • “The free Tag Groups plugin cannot be active together with Tag Groups Premium.”
  • Does Tag Groups work with the Polylang plugin?
  • Where can I get customization of the plugin code?

Tag Groups: Troubleshooting

  • “Error loading block: The response is not a valid JSON response.”
  • Shortcodes (tabs, accordion or other) don’t work in (sidebar) widgets
  • I cannot use multiple tag clouds on the same page
  • I use a plugin to aggregate inline JS and the cache size grows rapidly
  • I don’t see all tags in the Tag Meta Box
  • How To Use The Debug Log?
  • The plugin changes design elements (accordions, tabs, sliders, buttons, handles) in other places of my site
  • When I click on a tag in the tag cloud, the list of posts is empty or incomplete
  • Some shortcode parameters are not effective
  • There is a gray box around the tag cloud or the tabs or accordion are messed up
  • Instead of the tag cloud the page just renders an empty space
  • I cannot save HTML in the tag description
  • Where are my tags? My tags are gone
  • The processes in Troubleshooting – First Aid don’t complete
  • Authors cannot add tags to groups
  • Tag Cloud: When I Click on a Tag, the Posts Don’t Differentiate by Groups
  • I don’t see any or all posts
  • Debugging a WordPress Ajax Error
  • The list on the Tag Groups Administration page doesn’t load. I see the wheel spinning forever or an error message

Tag Clouds and Tag Lists

  • How to display tags in a custom sort order?
  • Can I use the shortcodes or Gutenberg blocks multiple times on the same page?
  • Where do I find the IDs of tags, posts or categories?
  • How can I display a tag cloud in a widget?
  • Can I have two tag clouds on the same page?
  • How can I change the text in the Shuffle Box?

Post Filters

  • How can I display the posts in custom order?
  • How can I change the length of the post excerpts?
  • How to change the size of the first posts in the masonry layout of the Toggle Post Filter
  • How to limit the size of the menu in the Dynamic Post Filter?
  • How can I change the text in the Dynamic Post Filter?

Tag Groups: CSS and Styling

  • How do I add custom CSS?
  • How to Make the Alphabetical Tag Index or the Tag List Responsive?
  • How do I change the styling of the post tags under the posts?
  • How can I change the colors and other styling?

Administration

  • What is a tag slug?
  • How can I show less tag groups on the back end?
  • How can I use permissions to restrict editing of tag groups?

Tag Groups: Maintenance and Optimization

  • How to Reduce the Number of Loaded Scripts for Better Speed and SEO
  • How to improve the performance of the Toggle Post Filter/Dynamic Post Filter
  • Running Maintenance
  • How to Improve the Speed of Tag Clouds
  • Migrating your Tags and Posts
  • Home
  • TaxoPress Documentation
  • Tag Groups
  • Tag Groups: For Developers
  • REST API

REST API

  • The REST API features below are still considered experimental and not officially supported.
  • Please be careful with all operations that change data. There will be no confirmation dialog. To be on the safe side, make a backup of your database before you start and test first with non-critical sample data.
  • POST and PUT requests are handled by WordPress interchangeably.
  • If you use a client like Postman or RESTED, send the attributes as URLencoded form data (Header: Content-Type application/x-www-form-urlencoded) and use Basic Auth with your application password, available in WP 5.6+ or via 3rd-party plugins (untested and unsupported).
  • Permissions to create or edit groups can be changed in the Tag Groups Settings (premium only).
  • Add the routes after your site URL. In GET requests you can simply add the arguments as parameters. Any returned data will be JSON-encoded, if applicable.

Enabling POST/PUT/DELETE

While all GET (retrieve) operations are available by default, all PUT/POST/DELETE (create, update, delete) operations are opt-in. You enable them by adding to your wp-config.php:

define( 'TAG_GROUPS_REST_API_EDITABLE', true );

Additionally you may have to authenticate, see below.

Groups

1. Retrieve one or more groups

Returns all groups or one group with its ID, label, position and terms.

Routes

/wp-json/tag-groups/v1/groups/

/wp-json/tag-groups/v1/groups/{id}/

Methods

GET

Arguments

ArgumentValuesDefaultDescription
taxonomycomma-separated listall that are selected for tag groups
hide_emptybooleanfalse
fieldsids, …ids
orderbyname, …name
orderASC, DESCASC
typeall, metaboxallIf you choose ‘metabox’, you see all groups that appear in the Tag Meta Box. (premium only)

2. Create or update a group

In order to use this endpoint you will need to authenticate as a user who has sufficient permissions.

For creating a new group you use 0 as ID.

Routes

/wp-json/tag-groups/v1/groups/{id}/

Methods

PUT, POST

Arguments

ArgumentValuesDefaultDescription
labelstringcannot be empty if you create a new group
positioninteger > 0after last existingThe position among the groups. The new group will be added at the end if you omit this argument.

3. Delete a group

In order to use this endpoint you will need to authenticate as a user who has sufficient permissions.

Routes

/wp-json/tag-groups/v1/groups/{id}/

Methods

DELETE

Arguments

not available

Terms (Tags)

1. Retrieve one or more terms (tags)

Returns all terms or one term with its ID, label, position and terms.

Routes

/wp-json/tag-groups/v1/terms/

/wp-json/tag-groups/v1/terms/{id}/

Methods

GET

Arguments

ArgumentValuesDefaultDescription
taxonomycomma-separated list, or keyword “public”all enabledThis endpoint returns only taxonomies that are enabled in the Tag Groups (Premium) settings. The keyword “public”, however, makes it return all public taxonomies, including those that are not-enabled.
hide_emptybooleanfalse
fieldsids
groupIDrestrict terms to those belonging to a certain group
orderbyname
orderASC

2. Update the groups of a term (tag)

In order to use this endpoint you will need to authenticate as a user who has sufficient permissions.

Routes

/wp-json/tag-groups/v1/terms/{id}/

Methods

PUT, POST

Arguments

ArgumentValuesDescription
groupscomma-separated list of group IDsPlease note that groups will not be added but overwrite previous data.

Taxonomies

1. Retrieve enabled taxonomies

Returns all taxonomies (slug and name) that are enabled for tag groups or for the Tag Meta Box (premium only).

Routes

/wp-json/tag-groups/v1/taxonomies/

Methods

GET

Arguments

ArgumentValuesDefaultDescription
typemetabox, enabledenabled

2. Update enabled taxonomies

Updates all taxonomies that are enabled for tag groups or for the Tag Meta Box (premium only).

In order to use this endpoint you will need to authenticate as a user who has sufficient permissions.

Routes

/wp-json/tag-groups/v1/taxonomies/

Methods

PUT, POST

Arguments

ArgumentValuesDescription
enabledcomma-separated list of taxonomy slugstaxonomies that are enabled for tag groups
metaboxcomma-separated list of taxonomy slugstaxonomies that are enabled for the Tag Meta Box (premium only)

Post Tags

Only available in the premium version.

These endpoints retrieve and update only tags in groups as used by this plugin. If you need to handle other post data you should use the built-in endpoints of WP.

1. Retrieve post tags

Only posts will appear that you are allowed to view.

The ID is a post ID. For each post the authenticated user’s (if applicable) permissions will be checked.

Routes

/wp-json/tag-groups/v1/post-tags/

/wp-json/tag-groups/v1/post-tags/{id}/

Methods

GET

Arguments

ArgumentValuesDescription
post_typestring (slug)usually “post_tag”

2. Update post tags

In order to use this endpoint you will need to authenticate as a user who has sufficient permissions.

The ID is a post ID. For each post the authenticated user’s permissions will be checked.

If you add a tag to a post and this tag is not yet assigned to the submitted group, then this group will be assigned.

Routes

/wp-json/tag-groups/v1/post-tags/{id}/

Methods

PUT, POST

Arguments

ArgumentValuesDescription
termsJSON-encoded arrayJSON-encoded array of group IDs as keys and an array of term IDs as each value. Use group ID 0 for unassigned tags. example: {“0″:[1235],”9”:[147]}
taxonomytaxonomy slug

Recent Posts

  • How to Show WordPress Posts With a Specific Taxonomy Term November 11, 2022
  • How to Use the Site Editor to Design WordPress Taxonomy Archives November 9, 2022
  • What Characters Are Allowed in WordPress Taxonomy Terms? October 26, 2022
  • The Tag Groups Plugin is Now Part of TaxoPress October 14, 2022
  • How to Merge Similar Taxonomy Terms in WordPress September 14, 2022

Testimonials

I had a support issue and the response was same day. I find the plugin extremely fast and easy to implement.

stevenmayjr

It is awesome to finally have tags organized. Thank you so much for this simple but powerful plugin!

kenethrd

Search TaxoPress.com

Important Links

  • Frequently Asked Questions
  • About the TaxoPress Team
  • Terms of Service
  • TaxoPress Affiliates
  • Logo and Brand Materials

Our Projects

  • PublishPress
  • MetaSlider
  • KinshiPress
  • Ramble Ventures
  • Logtivity