How to Remove WordPress Date and Time from Comments

Some believe that removing the timestamp on comments helps prevent content from being seen as dated. For example, reading an article from 2008 might seem a bit outdated. In reality, it entirely depends on the information contained in the content. However, many still remove the date from WordPress comments to avoid looking “too old” to be relevant.

In the long run, Bahrain WhatsApp Number creating persistent content will keep your pages and posts at the top of search results for longer. This is when you provide information that stays relevant no matter how much time passes.

Getting to Know Some Codes

Every day I come across all kinds of content created before 2012 when searching for information. This is because the engines are looking for content and relevance to my search “intent”. In many cases, the dates don’t mean much unless you’re creating an urgent news item.

On the other hand, I can understand how some prefer not to show a seriously outdated post in a post.

In this tutorial, I will show you how to remove the date from WordPress comments. This requires a bit of coding and understanding your theme.

Remove Date and Time From WordPress Comments

To remove the date and time from WordPress comments, you need to go to your theme customizer and add some code, or go to the actual style.css file in the theme editor and add the code from there. Once the code is added, save your changes and you can view it live on the front-end of your website.

Bahrain WhatsApp Number
Bahrain WhatsApp Number

Let’s take a look at a few methods available to remove the date and time from WordPress comments. For this example, I’m using the ColorMag theme. It is a very flexible and extremely customizable platform that integrates many tools. I’m sure you’ll be able to follow along with just about any theme.

The problem here is that not all themes are created equal. Some developers will use different filenames, code properties, and labels. So you need to understand a bit about what you are going to change in terms of hiding comment metadata in WordPress.

Leave a comment

Your email address will not be published.