Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter rthomas2895

    (@rthomas2895)

    Thanks for the reply!

    However, it’s still not working for me. I think it’s related based of the taxonomy “category” instead of “sfcategory”. Is there anything else I should maybe be looking at, or might be doing wrong?

    This is the shortcode I’m using…

    [related_posts_by_tax exclude_terms=”3411,3412,3413″ taxonomies=”sfcategory”]

    Or I’m using a simpler version of the shortcode and putting the exclusions in the code below in the function file.

    function related_posts_exclude_terms_widget( $args ) {
    // Example to exclude terms with ids 23 and 27 for the widget

    // change the term ids you want to exclude here
    $args[‘exclude_terms’] = array( 3411, 3412, 3413 );

Viewing 1 replies (of 1 total)