• Resolved Mrs. T.

    (@mrs-t-1)


    Hi all,

    I searched this forum for an answer, but couldn’t find one, so forgive me if I overlooked a resolution!

    I would like to make the tags on my posts invisible, but still have them function (would like my posts to be found by their tags when searched, just not have all of the tags at the bottom of each post)

    I removed this line of code from single.php:
    <?php the_tags(‘<p class=”post-tags”><span>’.__(‘Tags:’,’hueman’).'</span>

    but I don’t know if that means the tags aren’t searchable any more…. ?

    Any help is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • To keep the tags from being displayed on your post just add this to your custom css or child theme style sheet,

    .post-tags {
    display: none;
    }

    No need to remove anything from your php file.

    Thread Starter Mrs. T.

    (@mrs-t-1)

    Huzzah!

    Thank you!

    Hello, I have the same question. I placed

    .post-tags {
    display: none;
    }

    into my stylesheet and also into my custom css and it did not work for me either times. Is there something else I could try? Thanks! I’m using the “Sparkling” theme by the way. ??

    .product_meta {
       display: none;
    }

    This fixed it for me. I was wanting to make mine invisible on my products for my ecommerce site. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Making Tags Invisible on Posts?’ is closed to new replies.