タクソノミーの特定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); ?>
YARPP
excludeに配列でterm_taxonomy_idを指定
<?php $args = array( 'exclude' => array(6543,7654), 'limit' => 5, ); related_posts($args); ?>
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