add_filter(\'wp_title\', \'filter_pagetitle\');
function filter_pagetitle($title) {
if ( is_single() && \'post\' == get_post_type() ) {
return $title ."<br>THIS ARTICLE MAY CONTAIN COMPENSATED LINKS. PLEASE READ DISCLAIMER FOR MORE INFO";
}
return $title;
}
将此添加到函数。phpit将在单个文章页面上添加指定文本。如果不希望文本出现在下一行,请删除标记