Tell us what you are trying to do? I want search via Zip Codes (Taxonomy) and return a Region (CPT). When I create a search form and select Filter by Zip Code, I have options for Type of Control. Problem is that there are too man Zip Codes for a dropdown or any of the options presented. Ideally I would like a field that visitors can type in the zip code and then return the Region.
I created a custom shortcode 2018 to do this, probably because of the same issue, but I wanted to see if I am just not doing the correct filtering.
Is there any documentation that you are following? Creating a search form from the Course » WordPress Real Estate Sites.
Is there a similar example that we can see? I'm not sure about what this question.
There isn't really a built-in option with Toolset to handle a scenario where a View filter has a very large number of options (too many to practically display in a conventional select dropdown).
I think the best option would likely be to customise the dropdown to convert it with select2.
See their documentation at hidden link
You will need to enqueue their assets on the page with the View, and then initialise the select2 library on the View select filter.
Try that and see how you get on.
The topic ‘[Closed] search for custom post type via a taxonomy that has too many items for dropdown’ is closed to new replies.