Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author xnau webdesign

    (@xnau)

    I assume you mean a search that looks in multiple columns. This can only be done by building your own custom search function.

    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?

    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?

    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.

    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

    (@xnau)

    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.