用到tag_description 函數(shù),
官方文檔:https://developer.wordpress.org/reference/functions/tag_description/
在標(biāo)簽頁tag.php 中,可直接輸出:
<?php echo '標(biāo)簽描述:' . tag_description(); ?>

在函數(shù)中,可這樣用:
<?php
$tag_txt = tag_description();
echo '<header class="m-archive-header">
<h3><span class="title">' . $title . '</span> ' . $subtitle . '</h3>
<h5> ? '.$tag_txt.' </h5>
</header>';
?>
End