输出标签的描述
用到tag_description 函数,
官方文档:https://developer.wordpress.org/reference/functions/tag_description/
在标签页tag.php 中,可直接输出:
<?php echo '标签描述:' . tag_description(); ?>

在函数中,可这样用:
<?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