Forums › Forums › Search & Filter Pro › Search query not allowing 2 options to be selected
- This topic has 24 replies, 2 voices, and was last updated 7 years ago by
Anonymous.
-
Anonymous(Private) January 27, 2018 at 10:57 am #155259
Hi,
I have set up the plugin and chosen the tags/categories I wanted, however, I have an issue when someone selects 2 or more options.
I have created the cache for the search so I do not know what is going on. I can get my developer to grant you access to look at the settings.
Thanks
Trevor(Private) January 29, 2018 at 7:16 am #155492I can see the problem. You have used the taxonomy models_cat twice.
You can use a particular Taxonomy (or Category/Tags, each Taxonomy and each Custom Field) only once in the form. You would need to make additional taxonomies. 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).
You will need to make two new taxonomies for Countries and Resources. Then you will need to move the terms to the appropriate taxonomies, and then you will need to switch the form elements over to use these.
You would need two plugins installed:
Custom Post Type UI, or some other way to make the taxonomies (do you already have such?)
Taxonomy Switcher (only to switch the terms, then you can remove this plugin).Trevor(Private) January 31, 2018 at 10:12 am #156220The switcher needs 3 bits of data.
The name of the taxonomy/category/tag type in the FROM
The name of the new taxonomy in the TO
The ID numbers, in a comma separated list, of the terms you want to move. If there are parent terms, they MUST be moved as well.I find it easiest to grab the term IDs from the Search & Filter form, on the Tags, Categories and Taxonomies settings tab. Include them by using the browse button, then cut them from the data field and paste them into the switcher field.
-
AuthorPosts