WordPress.org

Support

Support » How-To and Troubleshooting » How to remove tags

How to remove tags

Viewing 13 replies - 1 through 13 (of 13 total)
  • No one can help?
    C’mon guys , someone must have come across this before?
    I did a search on the forum but all solutions require deleting code with reference to a _tag_ keyword. I searched all my php files and that word is not in there. I’m not a programmer so I don’t understand how that’s possible.

    Michael

    @alchymyth

    Forum Moderator

    No one can help?

    with so little information posted by you it is difficult to make any suggestions.

    what tags?
    – meta tags?
    – html tags?
    – taxonomy post_tags?
    – ?

    remove from where?
    – index pages?
    – templates?
    – single posts?
    – sidebar?
    – ?

    Sorry for the lack of info.

    I am talking about the tag field that shows up at the end of a post
    Example:
    http://teentourtheatre.com/?p=66

    I guess that would be single post but I am not certain.

    Yes, it’s single post and you should look for ” the_tags ” in your PHP template in the DIV id “additional_info”

    add this where you want to display tags (typically above/below <?php the_content();?> in loop-single.php):
    <p><?php the_tags(); ?></p>
    ref: http://codex.wordpress.org/Function_Reference/the_tags

    To re-iterate, I am trying to remove tags from being displayed. As I said, the word tag does not come up on any keyword searches on any of the php files.

    “in your PHP template in the DIV id “additional_info”

    I don’t understand this. I am only accessing the php code from within WP.

    These are my choices:

    404 Template
    (404.php)
    accordion_slider.php
    breadcrumbs.php
    Comments
    (comments.php)
    Contact_Page Page Template
    (contact.php)
    Footer
    (footer.php)
    Theme Functions
    (functions.php)
    Header
    (header.php)
    Home_Page Page Template
    (home_page.php)
    Main Index Template
    (index.php)
    sendmail.php
    nivo_slider.php
    Page Template
    (page.php)
    Portfolio_Page Page Template
    (portfolio.php)
    Search Form
    (searchform.php)
    Sidebar
    (sidebar.php)
    Single Post
    (single.php)
    Styles
    Stylesheet
    (style.css)

    Michael

    @alchymyth

    Forum Moderator

    where did you download your theme from?

    generally, a post will get displayed by single.php; so start looking into that file in your theme’s folder.

    if you like, you can paste the full code of single.php into a pastebin and post the link to it here, so somebody can have a look.
    http://codex.wordpress.org/Forum_Welcome#Posting_Code

    there might be a function call for those ‘additional-info’ section (?)

    can you share link to post/page? else a snapshot..

    Michael

    @alchymyth

    Forum Moderator

    duhh! sorry bout that alchymth/author.

    its wrapped in a div:

    <div id="additional_info">
    <p>Tags: <br />

    so for starters, search for the div ‘additional_info’.

    or in style.css, insert

    #additional_info p {
      display: none;
    }

    It worked!
    I deleted that part of the code in the single.php

    You guys rock!

    Thanks so much

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to remove tags’ is closed to new replies.
Skip to toolbar