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

    (@xnau)

    Rics,

    OK, this is how you do that. Create a custom template for your list by copying /participants-database/templates/pdb-list-default.php to wp-content/themes/YOUR_THEME/templates/pdb-list-default.php

    In that file, you’ll find a line: $this->show_search_sort_form();

    Replace that with this:

    $temp = $this->display_columns;
      $this->display_columns = array('first_name');
      $this->show_search_sort_form();
      $this->display_columns = $temp;

    Where it has array('first_name') put in the name of the fields you want your users to be able to search.

Viewing 1 replies (of 1 total)
  • The topic ‘Search form options’ is closed to new replies.