Title: Multiple select
Last modified: February 1, 2021

---

# Multiple select

 *  Resolved [joeknife](https://wordpress.org/support/users/joeknife/)
 * (@joeknife)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/multiple-select-6/)
 * Hi,
 * I use your plugin to display vendors on my website and I like it a lot. I have
   checkboxes to filter on attributes of the vendors. It works, but when you select
   multiple checkboxes I want the vendors that are displayed to have both the values
   you have selected instead of having one of the values.
 * So it should be an AND statement instead of OR.
 * Can I change this in the plugin settings or where can I change the PHP code in
   the plugin directory?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-select-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [bobbied](https://wordpress.org/support/users/bobbied/)
 * (@bobbied)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/multiple-select-6/#post-14003292)
 * Hi [@joeknife](https://wordpress.org/support/users/joeknife/)
 * Thanks for your patience on this while I was checking with our developer to see
   if this was possible.
 * It looks like it would be possible with this hook that isn’t yet documented: 
   wpbdp_listing_search_parse_request.
 * Since this is a common request, we may be able to add an example in the docs 
   to get you started. Is that something that would be helpful for you?
 *  Thread Starter [joeknife](https://wordpress.org/support/users/joeknife/)
 * (@joeknife)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/multiple-select-6/#post-14041780)
 * Hi,
    I already fixed it be changing file query on this file class-listing-search.
   php on line 143. For $this->query this variable dp you provide any hook so I 
   can rewrite the query you guys have made?
 *  Plugin Support [bobbied](https://wordpress.org/support/users/bobbied/)
 * (@bobbied)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/multiple-select-6/#post-14043625)
 * Hi [@joeknife](https://wordpress.org/support/users/joeknife/)
 * Can you please try using this hook: wpbdp_listing_search_parse_request
 * Please try that and let me know if you run into more issues.

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

The topic ‘Multiple select’ is closed to new replies.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bobbied](https://wordpress.org/support/users/bobbied/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/multiple-select-6/#post-14043625)
 * Status: resolved