Forums

How can I remove the tag icon and 'tags:' message at the end of ALL posts? (2 posts)

  1. yocervantes
    Member
    Posted 3 years ago #

    I tried string search of files but can't figure out how to do it yet?

    I don't want any tagging in my posts. Where's the code that puts tags message after them (even when there are no tags for the posts) when viewed individually or categorized groups or archive?

    (Obvious) Improvement advice: Tag icon and 'tags:' message should not appear at all if no tags have been attached to a post.

    Thanks.

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Usually that code would be in your theme's index.php file and would likely use the_tags() or get_the_tags() to display that data. In fact, the get_the_tags() article has an example for displaying the tag icon so maybe your theme has code similar to that you can delete. Make a backup of your file before beginning.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

    If you continue this thread, please provide a link to download the theme you are using.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags