Forums › Forums › Search & Filter Pro › filter dropdowns for 3 different criteria
Tagged: dropdowns
- This topic has 7 replies, 2 voices, and was last updated 7 years, 4 months ago by
Trevor.
-
Trevor(Private) May 15, 2018 at 2:27 pm #177644
You need to separate out groups, branches or parent/child taxonomy terms into separate taxonomies (or categories/tags). In general, you can use a particular Taxonomy (or Category/Tags, each Taxonomy and each Custom Field) only once in the form. This post tries to explain this a bit better (you can use a plugin to switch category terms from category to any new taxonomy that you make, so it is not so hard to do). It is a really awful preachy lecture I wrote:
https://support.searchandfilter.com/forums/topic/multiple-categories-combination/#post-55166
Sorry about the tone, but the message is right and it links to good plugins (except taxonomy switcher I think).
Anonymous(Private) May 15, 2018 at 4:16 pm #177665Thanks for your help on this Trevor
I’ve created 3 x taxonomies to filter the post, that you can see on this page
https://cycleskipton.co.uk/test-filter/
However when I change one dropdown, it immediately loads the new page
https://cycleskipton.co.uk/cycle-routes-results/?_sft_distance=0-5-miles
How would I be able to only load the posts on click of submit button? and can I load the search results directly under the search form via Ajax? Or does it always have to redirect to another page?
Thanks
Anonymous(Private) May 17, 2018 at 12:58 pm #178202Thanks Trevor
I’ve been looking at this thread
https://support.searchandfilter.com/forums/search/hide+content+until+submit/
To learn how to hide the results until I click the submit button
Is there a cleaner way to do this as it seems a bit hacky
Cheers
-
AuthorPosts