WPP, YARPPで特定のtermを除外

タクソノミーの特定termを除外

WPP

マイナスを付けてterm_idを指定

<?php
$args = array(
    'term_id' => '-1234,-2345',
    'limit' => 5,
    'post_type' => 'post',
    'range' => 'monthly',
    'stats_comments' => '0',
    'stats_views' => '0',
);
wpp_get_mostpopular($args); 
?>

参考
[WPP]非ウィジェットで特定カテゴリーを除外 – 鼻ちょうちん

YARPP

excludeに配列でterm_taxonomy_idを指定

<?php
$args = array(
  'exclude' => array(6543,7654),
  'limit' => 5,
);
related_posts($args);
?>

https://ja.wordpress.org/plugins/yet-another-related-posts-plugin/#can%20i%20customize%20how%20yarpp%20displays%3F

term_idではなくterm_taxonomy_idを指定する

Return Values
(mixed) 
Term Row (object or array) from database. Will return false if $taxonomy does not exist or $term was not found. Othewise returns object (by default) or array of fields depending on $output parameter.
The fields returned are:

term_id (See warning below)
name
slug
term_group
term_taxonomy_id
taxonomy
description
parent
count
https://codex.wordpress.org/Function_Reference/get_term_by