Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Possible to show posts by taxonomy, rather than by specific terms? Reply To: Possible to show posts by taxonomy, rather than by specific terms?

#3922
Tom
Keymaster

K, that’s the issue.

Let’s try this instead:

$terms = get_the_terms( get_the_ID(), 'your-taxonomy' );

if ( !empty( $terms ) ){
    // get the first term
    $term = array_shift( $terms );
    $term_slug = $term->slug;
}

wpsp_display( 1508, 'tax_term="' . $term_slug . '"' );