Snippet to remove datePublished for Comments

Does anyone have a snippet I can insert to remove the datePublished for Comments? The only reference to a date on my page is hidden in the datePublished for Comments only. An example.of a comment is:

<time datetime=”2022-08-17T08:26:17-04:00″ itemprop=”datePublished”>at </time>

This is where the SERPs are listing the dates of my posts from. Any assistance would be helpful.

I’m using the GeneratePress Theme and All In One SEO. Thanks so much!


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer