Archived topic
Remove Comment Date and Time - Using comments.php
33 replies · Started by Jesse on February 18, 2021
Thanks, Elvin. For some reason, my Easy Updates Manager plugin had theme updates "Blocked" so it wasn't showing me anywhere in WordPress that an update was available for the theme. I got it updated and now it's working as expected.
I love how this completely removes the date and timestamp from the comments!
As a backup option, what if we wanted to show the comment date and timestamps again, but as plain text (not hyperlinks)? Is that currently possible too?
Best,
Jesse
There's no direct filter for that, unfortunately.
The anchor tag is baked into the theme.
https://github.com/tomusborne/generatepress/blob/adfe090929b0515cdf894f4c6b722cfe8c0790dc/inc/structure/comments.php#L57-L68
But that seems like a reasonable feature request. You can log it here if you want.
https://github.com/tomusborne/generatepress/issues
You can open a new issue and prefix its title with Feature Request:.
Example: Feature Request: add generate_disable_comment_entry_meta_links
All set, I added a new feature request.
Thanks!
Hopefully it gets added to the next update. You can check the changelogs of updates here - https://generatepress.com/category/development/
No problem. :D