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.

remove a particular tag from published single post pages

1
  • You have to find out how they got there. When you edit the page it has no tags set?
    – leymannx
    Apr 3 '20 at 17:17
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>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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