最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

support - Need to remove a particular tag from published single post pages

programmeradmin5浏览0评论

Single posts show tag or tags after content on my website. I need to remove a particular tag making it hidden from the page. Actually I have redirected a link to this so cannot delete. I googled but cannot find any function as everywhere codes for exclusion of a tag from cloud is available.

Single posts show tag or tags after content on my website. I need to remove a particular tag making it hidden from the page. Actually I have redirected a link to this so cannot delete. I googled but cannot find any function as everywhere codes for exclusion of a tag from cloud is available.

Share Improve this question asked Apr 3, 2020 at 16:48 SK21SK21 174 bronze badges 1
  • You have to find out how they got there. When you edit the page it has no tags set? – norman.lol Commented Apr 3, 2020 at 17:17
Add a comment  | 

1 Answer 1

Reset to default 0

thanks for the response, leymannx. the code of the single page for showing tag/tags is as follow (swift is the theme name) -

    <?php if (has_tag()): ?>
        <div class="tags">
            <?php echo __('Tagged with', 'swift') . '&nbsp;'; ?>
            <h6>
                <?php the_tags('', ' ', ' '); ?>
            </h6>
        </div>
发布评论

评论列表(0)

  1. 暂无评论