Title: pdb_list and multisearch
Last modified: March 19, 2019

---

# pdb_list and multisearch

 *  Resolved [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/pdb_list-and-multisearch/)
 * Hi Roland
 * I’ve just bought the multi-search add-on from you. I’m using the shortcode as
   follows
 * [pdb_list template=multisearch fields=”first_name,last_name,male_or_female,looking_for_care”]
 * I search on the fields male_or_female and looking_for_care. I have defined the
   search criteria within the multi-search settings in the backend. That suggests
   that if I want to use the shortcode in another part of my site, that I can only
   use it with the same search criteria fields.
 * I would like to use the shortcode with different search criteria and therefore
   my question is, can I pass my search criteria along with the fields I want listed
   inside the shortcode.
 * I’ll give you an example using the above shortcode
 * [pdb_list template=multisearch search_criteria=”male_or_female,looking_for_care”
   fields=”first_name,last_name,male_or_female,looking_for_care”]
 * Thank you

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/pdb_list-and-multisearch/#post-11336469)
 * If you are using multisearch, you can use the “search_fields” attribute of the
   shortcode to set which fields are shown in the multisearch. You can’t do that
   with the combo search, however.
 *  Thread Starter [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/pdb_list-and-multisearch/#post-11336535)
 * I’m using the multisearch option.
 * Absolutely wonderful Roland, best $20 I’ve spent. It works a treat and I can 
   use it throughout the site with different search options.
 * If you were a bit closer I would buy you a pint.
 * Many thanks

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

The topic ‘pdb_list and multisearch’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [supernova42](https://wordpress.org/support/users/supernova42/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/pdb_list-and-multisearch/#post-11336535)
 * Status: resolved