Search For Tags:
This animated and filterable tag cloud is the Shuffle Box. It is available with my plugin Tag Groups. Sort your tags into groups and tidy up WordPress site. 🧡
Version 1.37.0 of the Tag Groups WordPress plugin was released, both for the premium and the free plans.
While the plugin offers endpoints for the WordPress REST API already since April 2018, they have been read-only. Completing the remaining parts allows developers now to edit taxonomies, groups and post tags through an external application.
These additional functions are available with both premium and free plans. For increased security you need to enable them through a constant in your wp-config.php file. Authentication can be done through the application password feature of the new WordPress release 5.6.
The new methods are still experimental and not officially supported.
Learn more in the documentation.
I’m excited to share three new options that make this post filter extremely powerful and customizable.
Until now, three logic operators were available for the Toggle Post Filter:
For many projects that was insufficient and users needed a more flexible solution.
The parameter “operator” – available in the menu part or the Toggle Post Filter – now understands also a per-group definition of operators.1
Imagine the following search setup for a language school:
While clients may want to search a course in English OR French (group 1), for beginners OR intermediate learners (group 2), they additionally need day care for their children AND wheelchair-accessible rooms. That means, we have AND to connect all the groups, and within the groups we use OR, OR and AND.
The general format of the parameter is:
operator="all:OPERATOR|group ID:OPERATOR|group ID:OPERATOR| ..."
For our example this translates to:
operator="all:and|1:or|2:or|3:and"
That’s as simple as it gets while giving you the full power of nested database queries.
And, of course, the past keywords AND, IN, OR and IN AND still work as before.
Another new option, available in shortcode and block, lets you determine groups where users should only be able to select one tag. When they select a second tag, the first one will be deactivated. The operator accepts a comma-separated list of group IDs. All of these groups must of course be available in the filter.
one_only_groups="3,6"
Please note that more tags might still be selected if this selection is carried over by the persistent filter setting from another page.
The way how text search fields work has changed so that you can now show more than one on a page. The typed letters are synchronized across all text fields. The setting how to trigger the search (1: on enter, 2: on enter or stop typing) will use the highest number among all parameters. That means, if you want to search “on enter” only, all text search fields must use the setting 1.
[tag_groups_tpf_text_search
placeholder="type here" search_trigger=1]
Photo by Christoph Amthor
This animated and filterable tag cloud is the Shuffle Box. It is available with my plugin Tag Groups. Sort your tags into groups and tidy up WordPress site. 🧡