Navigation überspringen

[Gelöst] Tag cloud

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 6 Jahren. 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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von leilaG vor 6 Jahren.

Assistiert von: Christian Cox.

Author
Artikel
#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.