Title: Multiple search terms from dropdowns?
Last modified: May 26, 2020

---

# Multiple search terms from dropdowns?

 *  [MBWD](https://wordpress.org/support/users/mbwd/)
 * (@mbwd)
 * [6 years ago](https://wordpress.org/support/topic/multiple-search-terms-from-dropdowns/)
 * I have a custom field group of ‘producers’, which refers to food producers. This
   group has categories like ‘meat-and-poultry’, ‘eggs-and-dairy’, etc. One of the
   custom fields in the group is ‘county’. I would like to create a search option
   that allows users to select a category and a county from two separate dropdown
   menus. So, for example, they will see, “Show me all ______ producers in ______
   County.” In place of each blank would be a dropdown showing possible choices.
   They would select one from each and click Search. Can I do this in Relevanssi,
   and if so can you please point me in the right direction to research how to do
   it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [6 years ago](https://wordpress.org/support/topic/multiple-search-terms-from-dropdowns/#post-12892860)
 * That’s not a search as such, that’s just browsing by custom field. Relevanssi
   is not the best tool for that. Relevanssi is best used for free-text searches,
   where user types a search query that is then used to find posts.
 * You do not need a specific plugin for something like this. It can be done with
   [WP_Query](https://developer.wordpress.org/reference/classes/wp_query/), which
   is a core feature in WordPress. Just take the parameters and compile them into
   a meta_query for WP_Query. This is something any WP developer worth their salt
   should be able to do without problems.
 *  Thread Starter [MBWD](https://wordpress.org/support/users/mbwd/)
 * (@mbwd)
 * [6 years ago](https://wordpress.org/support/topic/multiple-search-terms-from-dropdowns/#post-12892873)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple search terms from dropdowns?’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MBWD](https://wordpress.org/support/users/mbwd/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/multiple-search-terms-from-dropdowns/#post-12892873)
 * Status: not resolved