WordPress.org

Ready to get started?Download WordPress

Forums

How to remove tags (14 posts)

  1. slinky005
    Member
    Posted 1 year ago #

    I can't find any lines of code with the word tag in it....
    Checked all of the php files.

  2. slinky005
    Member
    Posted 1 year ago #

    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.

  3. riversatile
    Member
    Posted 1 year ago #

  4. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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?
    - ?

  5. slinky005
    Member
    Posted 1 year ago #

    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.

  6. riversatile
    Member
    Posted 1 year ago #

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

  7. shadez
    Member
    Posted 1 year ago #

    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

  8. slinky005
    Member
    Posted 1 year ago #

    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.

  9. slinky005
    Member
    Posted 1 year ago #

    "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)

  10. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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 (?)

  11. shadez
    Member
    Posted 1 year ago #

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

  12. alchymyth
    Forum Moderator
    Posted 1 year ago #

  13. shadez
    Member
    Posted 1 year ago #

    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;
    }
  14. slinky005
    Member
    Posted 1 year ago #

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

    You guys rock!

    Thanks so much

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.