Skip Navigation

[Resolved] Search filter with taxonomy list and text input

This support ticket is created 4 years, 4 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 Florys 4 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1951177
Screenshot (10).png

Hi,

Is it possible to create a taxonomy selectbox with text input like the search filter at: https://toolset.com/contractors/?wpv_view_count=573709

For example the select field: What kind of work are you looking for?

Thanx!

#1952101

Hi, it sounds like you're looking for a custom search filter that offers auto-suggested options based on a text input field. That type of search input does not currently exist in Views/Blocks and requires custom code implementation. I think the contractors search implements a 3rd-party JavaScript plugin to achieve this functionality with a basic select field: https://select2.org/

Since there is no public API for custom search filters, implementing something like this is considered outside the scope of support offered here in the forums, but a JavaScript developer might be able to set up something like this for you.

Our developers are planning to include several more modern search filters in Views/Blocks in an upcoming development cycle later this year, and this type of filter is due for an update. Until then, unfortunately custom code is required.

#1955715

Hi Christian,

Thanks for reply!

Our JavaScript developer added the right code!

Looking forward to the new updates later this year!

Regards