Query/filter by custom field?
-
Is it possible to query/filter by a custom field?
I have added a custom checkbox group to my directory. I would like to display a list of connections that have a specific value selected. Or, alternatively, group the connections by each option in the checkbox group.
For example, consider the following checkbox group options:
Option A
Option B
Option CJohn Doe has Option A and Option B selected.
Jane Doe has Option B selected.
Robert Smith has Option C selected.Ultimately, what I am trying to display is the following:
Option A
– John DoeOption B
– Jane Doe
– John DoeOption C
– Robert SmithI’m happy to build the Option sections on my page and use multiple shortcodes for each section if necessary.
Thoughts?
- The topic ‘Query/filter by custom field?’ is closed to new replies.