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