I'm trying to list post with different custom fields
my args looks like this:
$args = array( 'post_type' => 'post', 'meta_query' => array( 'relation' => 'AND', array( 'key' => 'ACF_type', 'value' => $t, 'compare' => 'LIKE' ), array( 'key' => 'ACF_sex', 'value' => $s, 'compare' => 'LIKE' ) ) );
And that works but I realy whant to use 'compare' => '=' but when change to this no post are listed
I've tried with string,char and numeric but nothing shows when I use '='
What am I doing wrong?