This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Filter for custom fields

#25850
baumelerch71baumelerch71
Participant

I’m actually using the same search bar on different pages (always [wd_asp id=3]).
In this search bar i have two custom field filters. One filter for “color” and one for “form”.

On the page with with all the “blue” post i’d like to have the filter “color” dynamically set to a standart value “blue” so if i select “form = round” it also takes the predifined “color = blue” so i end up on the search results pag with “color = blue & form = round”.

The problem is just to dynamically set the standart value for the filter, based on the custom field (or some other field if that would work better).
With dynamically I mean, if Im on the page “blue” the filter: color is set to blue, on the page “green” it’s set to green, on the page “round” though the filter “form” would be set to round. But it’s always the same search bar ([wd_asp id=3]).

If that’s not possible, do you have another tip for me to accchieve something similar?

Stefan