How to hide Categories & Tag links in WordPress?

Please Share On:

Is your website showing lots of tags, and you want to hide it? There are basically two ways to do:

  1. Edit your WordPress theme
  2. By using CSS code

Today, I am going to show you by the second method, an effective way to edit. I don’t recommend you for the first method. Because, if your theme gets updated then all your hard work and settings might change. And there is another risk that you might break your theme and unable to bring it back to original settings.

Lets begin with second methods.

  1. Login to your WordPress Dashboard
  2. Navigate to Appearance -> Customize
  3. Select Aditional CSS
  4. Add the following CSS code
/*Hide Categories*/
span.cat-links {
    display: none !important;
}

/*Hide Tags*/
span.tags-links {
    display: none !important;
}

5. Save it

6. Refresh your front page & check.

Is this tutorial helpful?



Please Donate.


You may interest on the following topics:

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright @2023. All Right Reserved.


Social media & sharing icons powered by UltimatelySocial