• Hello,

    I Need to Need to know how I can and more taxonomies to the Custom post Type to search for.

    I use category for what kind of Store ist is.
    Then I need a taxonomy for details. Like. Delivery, online Store, creditcard

    I know how to add a taxonomy to the cpt (cpt ui plugin)

    But how can I Filter the Store search with both taxonomies?

    Thanks for help,
    Denis

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    This can be done, but does require you to be comfortable with code.

    You will first have to add the dropdown filters for it where to can select the other options in a custom template.

    The dropdowns need to have a wpsl-custom-dropdown class set, so that the selected values are automatically included in the submitted AJAX data.

    Next thing you need to do is use the wpsl_sql and wpsl_sql_placeholders filter to use the additional data to modify the SQL query so that those values are used in the location search.

Viewing 1 replies (of 1 total)
  • The topic ‘More Taxonomies’ is closed to new replies.