June 20, 2018 at 1:29 am #4985
According to the syntax reference you’ve given me, I’ve tried with this code:
$custom_settings = array( 'post_type' => 'locuciones', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'gender', 'field' => 'slug', 'terms' => $gender ), array( 'taxonomy' => 'age', 'field' => 'slug', 'terms' => $age ), ) );
But I’m still getting all the posts as result…
I’ll appreciate so much if you’d take a look at the WPSP plugin code.
Thanks in advance.