Title: User search
Last modified: August 21, 2016

---

# User search

 *  [pvdsman](https://wordpress.org/support/users/pvdsman/)
 * (@pvdsman)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/user-search-5/)
 * Is there a way to allow users to search in the ‘main’ group (or any other displayed
   group) ?
 * Thank you and regards, Peter van der Sman
 * [http://wordpress.org/plugins/participants-database/](http://wordpress.org/plugins/participants-database/)

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333652)
 * I assume you mean a search that looks in multiple columns. This can only be done
   by building your own custom search function.
 *  [lankfordts](https://wordpress.org/support/users/lankfordts/)
 * (@lankfordts)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333829)
 * I was wondering if I can somehow double up on the sort by fields, say select (
   city and group) for a single search.
 * Not sure if this is the same question as above, but I am currently using;
 * [pdb_list sort=”true” CSS=”group” orderby=”last_name” fields=”city, state, style,
   group, talent, first_name,” display_count=”true”]
 * Which gives me one sort drop down menu where I can select a single search criteria.
   Can I get 2 sort by’s at one time?
 *  [lankfordts](https://wordpress.org/support/users/lankfordts/)
 * (@lankfordts)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333830)
 * What would be better is if there is a way to omit data from the list. Is there
   a way (without knowing code) to show a single state at a time.
 * If my records have hundreds of people from all 50 states how can I narrow a users
   search?
 *  [lankfordts](https://wordpress.org/support/users/lankfordts/)
 * (@lankfordts)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333831)
 * Never mind, I found what I was trying to do with [pdb_list filter=’state=NY’]
   loving this plugin more and more all the time.
 *  [lankfordts](https://wordpress.org/support/users/lankfordts/)
 * (@lankfordts)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333833)
 * Is there a way’
    If I am using a clickable map That is filling in the state, 
   dependent on which state is clicked to set up my pdb filter on that page to also
   except the user input
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333834)
 * Yes, you have to use a WP template for your page, (or use a plugin that lets 
   you use PHP in your page content) so you can use the do_shortcode() function.
 * First, set up your map so that the links look like this: (your list is on a page
   named “state-list”)
 * `/state-list?state=NY`
 * Now, on the state list page, you do something like this:
 * `<?php echo do_shortcode('[pdb_list sort="true" orderby="last_name" fields="city,
   state,style,group,talent,first_name" display_count="true" filter="state=' . $
   _GET['state'] . '"]') ?>`
 * See how the filter attribute is getting it’s value from the $_GET array? That’s
   the general idea.

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

The topic ‘User search’ 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/)

## Tags

 * [retrieve](https://wordpress.org/support/topic-tag/retrieve/)

 * 6 replies
 * 3 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/user-search-5/#post-4333834)
 * Status: not resolved