How can I filter a query loop for a specific ACF Field?
I am looping though custom post type “FAQ”. I created a ACF field group named “faq_category”. I want to filter the query loop for certain values of this category custom field, so I only display the questions associated with this category. I do not use a relationship field here but a plain text field where I entered a category name.
Is this possible?
I am using Metabox, but the same idea. Below you will see how to setup the filter for categories as an example.
Choose your “Source”, “Provider”, and “Meta Key”.
Yeah that’s what I thought too, but I do not get any results when filtering for the category
Does it make a difference if you remove the ““ from the value?
Also, just to clarify, that is your query settings and not a filter setting?
Actually, disregard my last – I think I see the issue. The Meta Key is not wrapped in {}, but just the custom field ID.
Then the value is the dynamic tag which is wrapped in {}