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.

remove a particular tag from published single post pages

  • You have to find out how they got there. When you edit the page it has no tags set?
    – leymannx
    Commented Apr 3, 2020 at 17:17

1 Answer 1


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;'; ?>
                <?php the_tags('', ' ', ' '); ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.