• I am trying to add Filter with Custom Taxonomy in an existing search.

    I have created a custom taxonomy for wpsl_stores post-type then display it with the custom template on the front-end but I am not able to get the value of this field in wpsl_sql hook for the pass in an existing SQL join query.

    I have tried wpsl_sql_placeholder_values hook with a static value but it does not work.`

    • This topic was modified 4 years, 10 months ago by nilaydev.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Did you set the wpsl-custom-dropdown class on the custom filter?

    If you print out $_GET / $_REQUEST, does the new value not show up?

    Thread Starter nilaydev

    (@nilaydev)

    Thank you for your support,

    It’s working now, after including “wpsl-dropdown” and “wpsl-custom-dropdown” classes, Now I am able to get a response by $_REQUEST.

    Could you please guide me, What class I have to use? If I want to add a Checkbox group to display the same taxonomy instead of a dropdown.

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

The topic ‘Filter with Custom Taxonomy’ is closed to new replies.