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.
Viewing 10 posts - 1 through 10 (of 25 total)
  • Anonymous
    #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
    #155376

    Hi Grace

    I think you had another, unrelated, post where I asked for this as well, but I would need you to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #155476
    This reply has been marked as private.
    Trevor
    #155492

    I 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).

    Anonymous
    #156209
    This reply has been marked as private.
    Trevor
    #156220

    The 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.

    Anonymous
    #156289
    This reply has been marked as private.
    Anonymous
    #156298
    This reply has been marked as private.
    Trevor
    #156311
    This reply has been marked as private.
    Anonymous
    #156368
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 25 total)