• Resolved outdoorsdev1

    (@outdoorsdev1)


    Using ACF and Filter Everything, is it possible to select and filter values that could exist in multiple ACF fields?

    I have fields like type_1, type_2, and type_3

    Item 1 could have type_1 as “dog”, type_2 as “small” and type_3 as “happy”

    Item 2 could have type_1 as “cat”, type_2 as “small” and type_3 as “happy”

    Item 4 could have type_1 as “large”, type_2 as “dog” and type_3 as “smelly”

    I’d like to show all of the types from all three fields in one filter, without duplicating the types if they exist in different type_x fields, is that possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter outdoorsdev1

    (@outdoorsdev1)

    Also, is it possible to collapse the filters like the “Collapse Filters Widget on Mobile devices” does on all devices?

    Plugin Author stepasyuk

    (@stepasyuk)

    Hello @outdoorsdev1

    Thank you for your interest in Filter Everything plugin.

    In general you can create one filter per your one ACF field. But I’m not sure why do you need to combine all fields in one filter as from the logic point of view every field should be separate product/post property. And that’s why is more logical and more convenient to use invidual filters for individual properties.

    Regards.

    Thread Starter outdoorsdev1

    (@outdoorsdev1)

    I totally get the viewpoint, however this was the easiest way to store data and display it. I can probably rewrite my functions to look through an array instead of fields one by one.

    If I wanted to store multiple values in one field would you suggest checkbox/select instead? I’d be adding new values to choose from fairly regularly.

    Also, is is possible to collapse/hide filters on desktop?

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

The topic ‘Select and display from multiple fields’ is closed to new replies.