WordPress.org

Ready to get started?Download WordPress

Forums

How to hide just tags from the footer in twenty-twelve theme (14 posts)

  1. artgardener10
    Member
    Posted 5 months ago #

    I am trying to hide the tags shown at the bottom of each post on my site artmatthewsonlinepianolessons.com

    I've used the css entry
    footer.entry-meta {
    display: none;
    }
    which hides the whole footer, but how can I just hide the tags?

  2. graphical_force
    Member
    Posted 5 months ago #

    Can you post a link that shows this?

  3. artgardener10
    Member
    Posted 5 months ago #

    href="http://www.artmatthewsonlinepianolessons.com/ac-33-guest-speakers-tips-on-reading-and-sight-reading-part-two/"> shows the whole line hidden. I'd like to be able to see "This post in (category) was posted on etc." without the tags showing.

    I'm hoping that this would mean that the tags are still being used for searching, just not visible at the bottom of each post.

  4. graphical_force
    Member
    Posted 5 months ago #

    No what I meant was can you post a link to your site where the tags are showing.

  5. artgardener10
    Member
    Posted 5 months ago #

    Sorry.

  6. artgardener10
    Member
    Posted 5 months ago #

  7. graphical_force
    Member
    Posted 5 months ago #

    Sorry that you can't? Not sure what your sorry about.

  8. artgardener10
    Member
    Posted 5 months ago #

  9. graphical_force
    Member
    Posted 5 months ago #

    Look for this line in your functions.php file:

    $tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) );

    and just comment it out like this:

    //$tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) );

  10. artgardener10
    Member
    Posted 5 months ago #

    Ok, thanks. I don't have to make a new functions.php and put it in my child directory?

  11. graphical_force
    Member
    Posted 5 months ago #

    Yes, you should follow the best practices here: http://codex.wordpress.org/Child_Themes

  12. artgardener10
    Member
    Posted 5 months ago #

    ok, do I put the whole segment in the new functions.php, or just the commented-out line? Or the whole functions.php test and then comment out the line?

  13. graphical_force
    Member
    Posted 5 months ago #

    If you are using ftp, then you can try any of those to see if they work since you can upload the functions.php file if needed. Don't be afraid to experiment with your site. This is how we learn.

  14. artgardener10
    Member
    Posted 5 months ago #

    True enough! Thanks for your help!

Reply

You must log in to post.

About this Topic