• Resolved 321abc

    (@deraxia)


    Your plugin is awesome!

    Is there a way you can recommend to let users select what post type/taxonomy they want to search? Do you suggest another plugin? Relevanssi doesn’t seem to have this functionality.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    No plugins are necessary. The shortcode [searchform dropdown="taxonomy"] will create a search form with a dropdown to choose a term from the taxonomy taxonomy.

    If you want more complicated search forms, FacetWP and Search & Filter are fine solutions, but in most cases, it’s just easiest and lowest overhead to create the search forms with the Relevanssi [searchform] shortcode or by creating them manually.

    Thread Starter 321abc

    (@deraxia)

    Thanks! I didn’t know Relevanssi had this option. What would the code look like if I had multiple post types?

    I tried putting a comma and a few other variations, but they did not work. Also, although I see the drop down, the first option in the drop down says “None”, and the second option is blank.

    • This reply was modified 4 years, 10 months ago by 321abc.
    Plugin Author Mikko Saari

    (@msaari)

    Unfortunately you can’t add multiple dropdowns to one search form with this shortcode, just one.

    I’ll add that to my to-do list.

    Thread Starter 321abc

    (@deraxia)

    Fast reply, thank you!

    • This reply was modified 4 years, 10 months ago by 321abc.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Search Filter’ is closed to new replies.