Alphabetical Tag Cloud – Gutenberg Block

Find more information about this tab cloud here.

This is a feature of the free and the premium plugins. Tag Groups Premium Tag Groups free

Block Options

The following options appear in the editor side panel after you selected a block.

Tags and Terms

Included taxonomies

Restrict the tags only to these taxonomies (“tag types”). Available are only taxonomies that have been activated in the Tag Groups Settings.

Smallest font size

Font-size in pt of the smallest tags.

Largest font size

Font-size in pt of the largest tags.

Tags per group

Maximum amount of tags in one cloud (per group). Pull the slider to zero to show an unlimited number.

Order tags by

Which field to use for sorting the tags.

Note on using “Natural Sorting”: Since WordPress doesn’t natively offer natural sort order, we have to first order them by name and then by natural sort order. If you limit the number of tags, the amount of tags is therefore determined by cutting off with “name” sorting and then sorting them with “natural”.

A custom sort order is available with a 3rd-party plugin.

Sort order

Whether to sort the tags in ascending or descending order. Ascending order also means from oldest to newest.

Hide unused tags

Whether to hide or show tags that are not used by any post.

Minimum post count for tags to appear

Set a minimum count of published posts that use a tag for this tag to appear. Posts are counted across all groups.


A separator between the tags.

Adjust separator size to following tag

Disable if you want to set a fixed size.

Separator size

The size of the separator, if not automatically adjusted to the size of the following tag.


Prepend to each tag label. Can obtain the placeholder {count} that will be replaced with the post count for that tag.


Append to each tag label. Can obtain the placeholder {count} that will be replaced with the post count for that tag.

Show post count in the tooltip

Whether to show the number of posts as tooltip (behind the tag description) when hovering the mouse over the tag.

Custom title

Custom title shown as tooltip. No HTML, but you can use {count} and {description} as placeholders.

Append something to each tag’s link, for example a query.

Set the “target” attribute for the links of the tags. Possible values are:

  • _blank: open in a new tab/window
  • _self: open in the same frame
  • _parent: open in the parent frame
  • _top: open in the full tab/window of this frame

In the shortcode you can also set the name of a frame.

Add filter to tags for multiple groups

When you use the premium plugin, additional query parameters in the links make sure that we can distinguish between the same tag that is used in different groups. If the resulting posts are not complete and troubleshooting doesn’t help, you can disable it here.

Use tags of the following post

Display only tags that are assigned to the post (or page) with a specified ID. If you need this option, you mostly want to “use this post”. The menu offers also some recent posts by title.

Alphabet and Tabs

Delay the display of the tabs until they are fully rendered

By default the tabs are only revealed after they are fully rendered. That way your visitors don’t see the raw structure with all tags listed below each other before the software is able to kick in. If you use this feature in an unusual position or experience issues, you can disable it here.

Include letters

Which letters should be used for the tabs.

Exclude letters

Which letters should be excluded from the tabs.

Open tabs on mouseover

Whether tabs can be selected by hovering over with the mouse pointer (without clicking).

Make panels collapsible

Whether tabs are collapsible (toggle open/close).

Start with expanded tabs

Whether tabs are initially expanded or collapsed. Useful when you make tabs collapsible.


Include groups

Use only tags of specified groups.

Advanced Styling

You can set here IDs and classes to be referred to in CSS. You need some knowledge of CSS to use these options.

div id

Define an ID for the enclosing <div>.

  1. If you display more than one tag cloud on the same page, each shortcode needs a different value. The safest solution is to leave it empty so that div_id automatically receives a random value.
  1. Avoid words that are used by WordPress such as “content” or “main”. Each ID must be unique for the entire page.

div class

Define a class for the enclosing <div>.

ul class

Define a class for the <ul> that generates the tabs with the group labels.

How do you rate this article?