Using a WordPress Filters to Modify Tag Cloud Args

Recently I was working on a project where we had a custom taxonomy assigned to posts. We needed to output a tag cloud of the terms from this taxonomy but have them ordered differently to the default tag cloud widget. This is where you can utilise WordPress’ filters to modify the output without having to build your own custom widget or effecting the tag cloud for other taxonomies.

Click below is a short video demonstration of how I did it.

View – Using a Filter to Modify Tag Cloud Args

About the author

Mark is the lead WordPress developer at Highrise Digital. He has been working with WordPress for over 13 years, way back to 2005. He focuses on back-end development, integrating the website build with WordPress so it can be editable.