Remove Date and Time from GeneratePress Comments

In this post I will show you how to remove date and time from GeneratePress comments. Using a simple CSS code you can easily remove date and time info from comments section in GeneratePress.

If you are using any other theme than GeneratePress there are several ways to remove date and time from WordPress comments. But if you are using GeneratePress theme, the process is much simpler.

The reason why many bloggers remove date and time from comments section is to make comments look fresh and evergreen to the users. Moreover, when you read the comments, it usually the comment that you focus on and not much on date and time.

Is it ok to remove date and time from WordPress comments?. The answer is yes, and some believe that this also improves their WordPress SEO. However, this topic is debatable, and it is not completely proved that it improves the SEO.

GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Not only it is compatible with popular page builders, it also works fine with many popular WordPress plugins.

Now by default, like other themes, GeneratePress displays the date and time of the comments at the end of the post. There is no built-in option to remove it, however the CSS code can do the trick.

Remove Date and Time from GeneratePress Comments
Remove Date and Time from GeneratePress Comments

Remove Date and Time from GeneratePress Comments

Let’s look at the steps to remove date and time from GeneratePress comments. Login to your WordPress site and navigate to Dashboard > Appearance > Customize.

Remove Date and Time from GeneratePress Comments
Remove Date and Time from GeneratePress Comments

This loads the customizer and from the left pane, select Additional CSS. Additional CSS section allows you to add custom CSS code to the theme without editing any files.

Remove Date and Time from GeneratePress Comments
Remove Date and Time from GeneratePress Comments

You can use the following CSS code to remove date and time from GeneratePress comments.

.comment-metadata a {
       display: none;
 }
 .comment-metadata .reply {
       color: transparent;
 }
 .comment-metadata .reply a {
       display: inline-block;
 }

As soon as you add the above CSS code, the date and time information is removed from the comments. To save the changes, click Publish. If you are using a caching plugin, ensure you clear the cache.

Remove Date and Time from GeneratePress Comments
Remove Date and Time from GeneratePress Comments

After you remove the date and time from the comments section, you may find a gray vertical bar just below the commenters name. You can remove that bar using the following guide.

Need Assistance?

Send us a message or post your question in forums.