WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Hide Tags in Post in TwentyTwelve (7 posts)

  1. imdtucker
    Member
    Posted 1 year ago #

    I am trying to hide the tags shown at the bottom of each post on my site http://www.mediadropdate.com

    I am using the Twenty Twelve theme and have a child theme set up to make changes in. I have searched for how to hide these tags and have found various responses (ranging from editing php files to css files) for other themes but none have worked in Twenty Twelve.

    I think the solution might be within the functions.php file but when I copy it to my child folder it crashes my site.

    I would like to make these tags hidden, without compromising any search engine optimization.

  2. Brad Davis
    Member
    Posted 1 year ago #

    footer.entry-meta {
       display: none;
    }

    will hide the box that contains the tags.

  3. imdtucker
    Member
    Posted 1 year ago #

    Thank you Brad!

    You saved me hours of frustration while I'm still trying to figure all of this out.

  4. Brad Davis
    Member
    Posted 1 year ago #

    Welcome! =)

  5. noahjonah
    Member
    Posted 1 year ago #

    Alternatively, you could comment out: <?php the_time('1, jS F Y') ?> , if you don't want to use display:none;

  6. rot69
    Member
    Posted 1 year ago #

    Hi Everyone,
    I'm trying to resolve the same matter on Twentytwelve.
    I have no knowledge in PHP. When I try to add Brad Davis' code to themes/functions.php I get s syntax error.

    Could someone please be kind to advise where in the code and how to correctly enter the code given.

    Thanks for your help.

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the Twenty Twelve theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes. Or use a custom CSS plugin.

    And as per the Forum Welcome, please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic