Tag Groups - Free Plan

Tag Groups, Version 1.41.0: New Options for Titles in Tag Clouds

The latest release of the Tag Groups WordPress plugin extends the ways how you can configure the title attribute of tags in tag clouds.

The latest release of the Tag Groups WordPress plugin extends the ways how you can configure the title attribute of tags in tag clouds. The title attribute is what visitors see if they hover their mouse over a tag. By default WordPress shows the tag description (if you use any) and the post count of that tag. The post count is the number of published posts that use this tag. With Tag Groups you can customize this title, or tooltip.

Additionally to the existing placeholders {count} (for the post count) and {description} (for the tag description) you can now use {name} to display the tag name. Example:

custom_title="Click on {name} and see {count} posts."

Now you may wonder how to write this text so that it also matches cases where {count} will be replaced with “1”. Previously you had to use a workaround like “We have {count} post(s)”, mixing singular and plural. Starting from this release, however, you can have three different versions: for a post count of zero (if your tag cloud shows “empty” tags), a post count of 1 (for singular) and a post count greater than 1 (for plural):

custom_title="Click on {name} and see 1 post." custom_title_zero="Sorry, no posts use {name}." custom_title_plural="Click on {name} and see {count} posts."

You may have noticed that the default parameter custom_title holds now the text for the singular version.

Further Information

Christoph