How to hide tags in WordPress posts without installing plugins (GUIDE)

Tags are often used to categorize your WordPress post. Based on some people tags also help in SEO. Some has doubt on that which I talk about at the end of this post. First I want to show you how to hide tags in WordPress posts. And yes that’s without installing any WordPress plugins.

You can easily hide tags from WordPress blog posts. I have listed 2 easy methods below you can use to hide those tags. One is using your theme’s settings and another one is using CSS code. There is another method which is using WordPress plugins. I will not talk about that since our intention is hiding tags without any plugins.

What are the reasons to remove tags from WordPress posts?

  1. Sometimes they are messy due to lot of tags you have used previously.
  2. Some SEO experts agrees that there is no SEO effectiveness using WordPress tags.
  3. Maybe you have your own reason.

WordPress is the biggest used CMS platform to create websites and there are plenty of reasons why WordPress is better.

The more beautiful your content appears to the audience the more people like to share your content. This will increase your social shares.

To maintain, a beautiful layout you have to hide or remove some portions in WordPress and tags are one of them. When you use one or two tags on your blog post, it won’t look messy.

But if you use 20+ tags in your articles, then it will look odd.

So, what are the WordPress tags?

Below image is an example of tags are being used at the bottom of the article.

Tags are like a showcase to readers who wants to know what your article is about or related to. Tags will define the category, sub-category, and also they help to rank in search engines (as some people claim it).

Just a quick note, there are tags generators available people use to generate tags for the articles.

Online tag generators will give you hundreds of tags to use, but you can pick related tags. If you like to add hundreds of tags to posts, then you have to hide tags from showing on your blog posts.

Because showing hundreds of tags before the comment section will be annoying. Isn’t it?

How to hide tags in WordPress posts?

Method 1: Hide tags using your theme settings

Most of the theme comes with some settings to hide not only tags but also other Meta data from WordPress post. These the easiest way ever to hide WordPress tags. You don’t have to deal with any code, or edit any file.

Note: Each theme might have different path to navigate the location of post settings but idea is pretty much same. You just need to look for settings for single post. These instructions are based on HitMag theme.

Here are the steps:

Step 1: From the WordPress dashboard navigate to following:

Appearance >> Customize

Step 2: Click on Post Option then scroll down where you will see “Tags list after the post”

Step 3: Just click on the button on the left to hide the tags.

This is what should look like after you remove the tags

Note: If you ever need to make tags visible on WordPress post then you can just come back here and put the settings back on.

Here is another example using Astra theme. Navigation location is as follows:

Appearance>Customize>Layout> Blog>Single Post

You can pretty much hide tags, Author, Publish date, Comments, Category from this settings.

Method 2: Use CSS code to hide/remove tags

You can add a simple HTML CSS Code to hide tags from WordPress blog post.

Here is the code. Just copy the code and paste it in ‘Additional CSS section’.

.tags-links {display:none;}

Where do I add this code to hide the tags from WordPress?

If you are a beginner and if you don’t know where to add this code then follow these steps to navigate to the additional CSS section. Just log in to the Dashboard and click on Appearance and then you will have an option ‘Customization.’

Appearance>Customize>Additional CSS

Scroll down until you see this.

How to hide tags in WordPress posts

After you add the code this is how it looks:

How to hide tags in WordPress posts

Will this code work for every theme?

It depends on the theme you are using but in most cases, the code will work with almost all themes because it is a simple code irrespective of theme modification. If you look on the topic in WordPress forums then you may come up with different types of tags based on the theme they are using.

For example, the HitMag is using below HTML tag in the theme:

.hm-tags-links

So to hide tags in your post for HitMag, the CSS code would be like this:

.hm-tags-links {display:none;}

Does different theme uses different HTML tag?

How to hide tags in WordPress posts

You can see that people ask the question by including their theme name in it because no two themes are configured the same. In one of my blogs, I use Generate press theme, and it worked properly.

How to hide tags in WordPress posts

As you can see in the pic, MotoPress is a theme, and they included the code differently. You can simply ask your theme to provide the HTML code to hide tags or you can search in Google.

How can you find out HTML tag which is being used by your theme?

Just open your website in any browser and follow these steps.

Note: I am using Mozilla Firefox to show you how to get the HTML tag so you can use CSS code to hide the tags.

Step 1) Right click on tags, then click on “Inspect Element”

Step 2) Make sure you click on the root of html tags for WordPress tags. Just like below screenshot. If the root tags highlight the all the tags on the page then it should be the correct html tag. In addition it should be class=”something

Step 3) Now you have the HTML tag. Just use below CSS code to hide your WordPress tags.

.html-tag-you-found {display:none;}

Note: Replace

“html-tag-you-found”

with the code you actually found by inspect element.

Based on screenshot from Astra theme, it will be

.tags-links {display:none;}

Note: You can also search in forums, or you can contact the theme provider for help to hide tags or category name.

How to hide Category tags from WordPress Post?

Similar process I have mentioned to hide WordPress tags. You can either use theme setting or CSS code to hide or remove the WordPress categories.

Here is a cheat sheet of CSS code to hide not only WordPress tags any other element as necessary for your blog posts. If the HTML tags are not same as mentioned on this sheet, follow the steps I have used above using Mozilla Firefox to find out the correct tags then just apply CSS code.

You can use these reference cheat sheet to hide blog Post date, Modified or update date time, Author name, comment link, categories, footer and more.

Now let’s see if tags are important for search engine optimization (SEO).

How important are tags for SEO?

I would say ‘0%’.

At the beginning of optimization time, everything matters in SEO to find out the topics and categories of particular posts but now everything is changed, and you don’t have to worry about tags now.

I recommend not to waste time on tags because tags won’t affect your SEO anymore. Read this article For Most Important Meta Tags You Need to Know for SEO  to know more in depth.

How to hide tags in WordPress posts

On the other hand, one of my friends from tech blog said that when he used more than 100 tags in a WordPress blog post, then the article ranked within few days than the articles for which he didn’t’ use any tags.

Have I tried this? No, I didn’t apply these methods to see if it works because 100 tags are really a mess underneath your post or on the side.  Reader will be confused if that is main content or tags.

Instead it is always better to write good content and use proper keywords which you are planning to use as WordPress tags.

Meta Keyword tags in SEO

There are multiple Meta tags types in SEO, and they are title tag, alt tag, Meta tags, etc. Title tags are way more important than the Meta keyword tags. If you want to improve your rankings in SEO, then you can go with the perfect title and alt tag optimization.

Check this guide on How to increase your SEO rankings by 41% using Image tags.

If you wish to spend time on keyword tags to insert in post tags section, my recommendation is not to waste time on that and instead use LSI keywords in your blog post.

Conclusion

So, this is how you can hide tags in WordPress blog posts to make your page clean and simple.

Finally, I would like say that don’t worry too much about the WordPress tags, it probably doesn’t affect that much on SEO. Instead of using tags use those keywords throughout the content.

But if you already have tags and want to remove it for some reason, you can use above 2 methods to hide tags or category from your WordPress blog post.

Sharing is Caring

Leave a Reply

%d bloggers like this: