• Resolved tznpunk

    (@tznpunk)


    I want to add filter in the select list (with elements with Taxonomy type). When we change element on select list (onchange event), I want to add this filter to block

    [pods name="song" orderby="post_title ASC" template="Song List New Template" pagination="true" limit="50"]

    In for example WHERE parameter. And refresh just this pods list. How to do what?

    I have created this list on Pods Template.

    Example project of design list

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @tznpunk

    You can pass GET variables in a shortcode like so: {@get.var_name}.
    If you set the filters to use a variable you can create your own where clause to filter the results.

    Alternatively, the Pods shortcode supports filters, this might work for you as well:

    [pods name="song" orderby="post_title ASC" template="Song List New Template" pagination="true" limit="50" filters="field,field2,field3"].

    There are also dedicated plugins for similar functionality you might want to take a look at. For example: FacetWP https://facetwp.com/

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Dropdown onchange filter pod template list’ is closed to new replies.