contacts

(+359) 88 339 4445

Buy All 39 Premium WordPress Themes for $54.99

Hide Categories and Tags in Single Post Pages

Hide Categories and Tags in Single Post Pages

In some cases you may want to hide Categories and Tags in single post pages, but keep them in posts listing. It will require a small code change. Here are all of the necessary steps:

  1. Login to your Admin Panel
  2. Navigate to Left Menu -> Appearance -> Editor
  3. Open yourtheme/content.php
  4. Find <?php if ( has_category() ) : ?>
    and Replace it with:
    <?php if ( has_category() && !is_single() ) : ?>
  5. Find <?php if ( has_tag() ) : ?>
    and Replace it with:
    <?php if ( has_tag() && !is_single() ) : ?>
  6. Save Changes

 

One Response to “Hide Categories and Tags in Single Post Pages”

  1. I was looking for a theme to update and spruce up the twelve sites in my network: The Audio Tidbits Network. Of course, the theme had to be responsive and needed to have a modern look, with a variety of features. That’s just table stakes for a theme before anyone would give it serious consideration. Tblogging was easily up to this expectation, with features to spare. I’m not going to list them here, since you can quickly learn about them on your own. I also don’t want to just tell you in glowing terms why Tblogging is a great choice for your site. Rather, I am excited to share with you my reason for choosing Tblogging.

    I am totally blind and wanted a theme that I could manage without extra help. Tblogging was there for me. The site is totally accessible with screen readers used by blind website users and equally accessible for blind website developers. If you aren’t blind, that may not seem like a big deal; but let me assure you that it is. Everything in the dashboard is accessible and easy to manage with a screen reader. Equally important is that this level of accessibility requires careful and orderly theme development. It’s no accident. The result is that everyone gets a solid and well-constructed theme that also is accessible by folks who can’t see what they are doing. This is far more uncommon than one might think.

    I finally am pleased to share that the support from Tishonator has been amazing. I wanted to do something with the theme that it — nor most any other theme — was designed to do. It was a little tweak, but important to me. When I asked about making the tweak, I wasn’t asked why or told that Tblogging can’t do that. I was simply told how to make the tweak and then it was done for me. Anyone who doesn’t know that is exceptional has been living under a rock.

    I am incredibly happy with Tblogging and with Tishonator, if you haven’t picked up on that. If you want to see for yourself, check out GaryCrow.net or FrustrationFactor.com as examples of what Tblogging can do for you and your site.

Leave a Reply