• Resolved goldsteinsveta

    (@goldsteinsveta)


    so I use

    function jetpackme_filter_exclude_category( $filters ) {
        $filters[] = array( 'not' =>
          array( 'term' => array( 'category.slug' => 'news' ) )
        );
        return $filters;
    }
    add_filter( 'jetpack_relatedposts_filter_filters', 'jetpackme_filter_exclude_category' );

    in functions.php in order to exclude the “news”-category.
    This doesn’t work for me. Problem is still there after debug

    https://www.ads-software.com/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Category isn't being excluded’ is closed to new replies.