尝试使用 has_tag() 条件模板标记。例如,要查询标签“foobar”: <?php if ( has_tag( 'foobar' ) ) { // The current post has the tag "foobar"; // do something } ...
確定! 回上一頁