Thank you for pointing me in the right direction.
I was trying with your code in taxonomy.php and it works when I filter one taxonomy, but I work with two taxonomies (Gender and Age), so if I want to filter, for example, the posts belong to ‘Female’ and ‘Adult’ I try with this code
$custom_settings = array( 'relation' => 'AND', array( 'taxonomy' => 'gender', 'tax_term' => $gender ), array( 'taxonomy' => 'age', 'tax_term' => $age ), ); wpsp_display( 123, $custom_settings );
But it doesn’t works.
Colud you tell me how to solve this?
Thanks in advance!