• Hi, I have WordPress-based website (http://bit.ly/dd5FKh).

    I am currently satisfied with my theme, but I would like to someway hide the post tags that are displayed after the posts. I have seen lots of WP blogs that didn’t showed any tags.

    Is there any way to hide the tags, without receiving any penalty from the search engines?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you remove the tag id from either single.php or index.php?

    Thread Starter tudorc11

    (@tudorc11)

    <?php
              $posttags = get_the_tags();
              if ($posttags) { ?>
              <p class="tags"><?php the_tags(''); ?></p>
              <div class="clear"></div>
              <?php } ?>

    This is the part of code from single.php that I think it’s causing the tags to be displayed. My question would now be: if I remove this, will the search engines still find out the post tags?

    Try the easy way to hide the class, no code hacking 🙂

    open style.css and add at the bottom

    .tags
    {
       display: none;
    }

    I use this for the blog title / description, so the search engines still pick it up, try it and use firebug to have a look.

    HTH

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I hide the post tags?’ is closed to new replies.