rlocke, were you able to sort this out? I’m having exactly the same issue – I’ve even changed my custom field to be a select instead of the original taxonomy I was using, but still nothing is returned. When I had it set as taxonomy, the ID didn’t return anything either. If I comment out the meta_query array, the query returns posts. I’ve checked that all my names are correct, correct spelling, nothing is doing the trick. 🙁 Any ideas?
// i've got the function code here as in example, only using 'projects_%_type' $args = array( 'numberposts' => -1, 'post_type' => 'artist', 'meta_query' => array( array( 'key' => 'projects_%_type', 'value' => 'lifestyle' ) ) );
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!