Skip Navigation

[Resolved] Tag cloud

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to create a tag cloud to be used in custom search filters.

Solution: There's not a tag cloud filter type built into Views, so this would require significant custom code with JavaScript and possibly PHP.

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by leilaG 5 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1196178

Is it possible to display taxonomies as a tag cloud rather than check boxes?

#1196339

In a custom search View's filters? No there's nothing built-in to show a tag cloud as a filter in the custom search filter area. That would require some custom code that interacts with URL parameters and other filters. It could get pretty tricky. There is no true JavaScript API for Views filters, but there are a few AJAX event hooks you can use to trigger custom code. You can find a button to create those event listeners in a custom search View editor, in the JS panel just below the Search and Pagination editor.

#1196599

Thanks, for the explanation.