Tag Cloud Search – Shortcode Parameters

This is a feature of the premium plugin. Tag Groups Premium

Note: This shortcode is also available as Gutenberg block. You can configure the block without using any code or parameters. Read more about the block options.

If you don’t know what is a shortcode and how to use it, you first may want to read this article.

Shortcode

[tag_groups_cloud_search]

Example

[tag_groups_cloud_search tag_cloud_class="my-tag-cloud" label="Looking for a name?" placeholder="Type here"]

Parameters

tag_cloud_class

This is the only mandatory parameter. Enter here the same class name (selector) that you use in the tag cloud as “div_class” (or “table_class”). Example:

[tag_groups_cloud_search tag_cloud_class="searchable-tag-cloud"]
[tag_groups_cloud div_class="searchable-tag-cloud"]

This class name creates the connection between the search field and one or more tag clouds.

If you also need other class names in the tag cloud, you simply enter all of them in the tag cloud as “div_class”, separated by spaces. Example:

[tag_groups_cloud_search tag_cloud_class="searchable-tag-cloud"]
[tag_groups_cloud div_class="green-tags other-styling searchable-tag-cloud"]

label

An optional label, displayed above or left of the input field.

placeholder

The text that appears in the empty input field.

div_class

You can use this to access the input field with CSS.

How do you rate this article?