Show a WordPress tag cloud anywhere on your site

Some people use the tag cloud widget in WordPress to show their post tags on a widgetized sidebar but you can also manually add a tag cloud to your theme – which is perfect for creating a custom tag cloud page template or for adding them to your theme in areas that you don’t necessarily want widgetized. This WordPress code snippet will display a custom tag cloud anywhere on your site via your theme files.

Instructions
Add this code to your template files where you want the tag cloud to be displayed..

Snippet Info

Tested with Wordpress v. 4.8
Last Modified: 15.05.2018
Last Reviewed: 15.05.2018

Show a WordPress tag cloud anywhere on your site
4.8 (96%) 10 votes
Please report broken snippets.
Report Broken Snippet
WP Engine