We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support How to get the template part working with WPSP? Reply To: How to get the template part working with WPSP?

#4967
Tom
Keymaster

Maybe try this:

$custom_settings = array(
    'tax_query' => array(
        'relation' => 'AND',
        array(
            'taxonomy' => 'gender',
            'tax_term' => $gender
        ),
        array(
           'taxonomy' => 'age',
           'tax_term' => $age
        ),
    )
);
wpsp_display( 123, $custom_settings );