wordpress获取当前tags名称

<?php if(is_tag()){ echo $name=single_tag_title(”,f…


<?php if(is_tag()){ echo $name=single_tag_title('',false); } ?>

《 “wordpress获取当前tags名称” 》 有 3 条评论

  1. 貌似还有别的方法

  2. 博主,显示不出来呀。

    1. 当时找的时候还正常的,容我得空测试一下代码.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

More posts. You may also be interested in.