• Hello,

    I would like to see if you could walk me through how to add a second category filter. Basically, I need the map to filter by Specialty (Diagnostic Imaging, Pain Management, Chiropractor, etc.) and by Doctor (Dr. John Smith, Dr. John Doe, Dr. Jane Doe, etc.). Can I create a second category named Doctor as a parent and then have each doctor’s name underneath that parent filter and display it?

    heathology

Viewing 1 replies (of 1 total)
  • Hi!

    Creating an additional category dropdown is definitely possible, but it will require some coding.

    First of all you will need to show the new dropdown in a?custom template; the dropdown has to have the ‘wpsl-custom-dropdown’ class on it so that the submitted value is automatically included in the AJAX request.

    And you also need to use this?and?this?filter to customize the SQL query so that the custom data is included in the search query.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Display a Second Category Filter’ is closed to new replies.