How to hide links to categories and tags in GeneratePress

generatepress

If you use the GenaratePress theme, one of the most popular and used in WordPress, there are things you have to pay to be able to configure, having a freemium model, but you can also do them with a little bit of skill.

One of these configurations or settings is not to display links to categories, tags and other metadata in both the file (blog) pages and the posts. This is known as meta data, or entry metadata.

Furthermore, it is a good measure for SEO that the archive pages, especially if it is your blog home page, have the right and necessary links, avoiding any additional unnecessary links, so removing these links to the metadata is a measure you should consider applying.

With GeneratePress Premium it’s very easy, with just a click, because one of the modules included in the professional version allows you to configure where you want this metadata to be displayed or not.

But if, like thousands of users, you use the free version of GeneratePress, you can also get it.

The magic of CSS

Well, yes, and it is very easy with these simple CSS tricks.

Just add the code you want to apply to the “Additional CSS” section of the WordPress customizer.

Hide category links

%MINIFYHTMLbda5c418f17dbf00ad9c65aaa7cbc05057%
.cat-links { display: none; }

Hide all links to metas on the home page

.home .entry-meta { display: none; }

Hide all links to metas in entries

.entry-meta { display: none; }

Of course, you will see how the links to categories, links, etc., the metadata, disappear automatically.

All you have to do now is to publish the changes and make them visible (in this case the opposite) to all your visitors and search engines.

Read this post in Spanish: Cómo ocultar los enlaces a categorías y etiquetas en GeneratePress

Click to rate this post!
[Total: 0 Average: 0]

1 thought on “How to hide links to categories and tags in GeneratePress”

Leave a Comment

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

Scroll to Top Skip to content