Version 3.1.0 of the Most Popular Tags plugin has been uploaded to the WordPress plugin directory. This release adds an often-requested feature: the ability to embed a tag cloud in a post or page.
To embed a tag cloud, simply use the shortcode
[tagcloud]. You can customise the appearance of the cloud using the following parameters:
smallest largest unit number format separator orderby order exclude include link taxonomy
All of the aforementioned parameters are optional — omit one and it is assigned a default value. For a list of accepted values for each parameters, please refer to the WordPress documentation on
wp_tag_cloud(). If you run into any issues, don’t hesitate to contact me.
Cloud with the top 20 tags
Cloud with the top 20 tags, sorted by count and ordered randomly
[tagcloud number="20" orderby="count" order="RAND"]
Cloud with the top 20 tags, sorted by count, ordered randomly and separated with the “/” character
[tagcloud number="20" orderby="count" order="RAND" separator=" / "]
Here’s a live demo of the last example shortcode (please note that its appearance may vary depending on your stylesheets):
[tagcloud number=”20″ orderby=”count” order=”RAND” separator=” / “]