Hiding Comment Date and Time Stamp

  • Ruthida


    Could someone kindly show me how to hide the dates and time stamps on my blog comments?

    I have been able to hide the blog post date and time stamps but not for comments.

    Thank you!




    This is tricky. For me off course πŸ˜‰

    You can hide commentmetadata class with CSS, but that will hide the “spam” and “delete” links also. If you want to remove only date and time from comments I think you’ll have to edit theme-comments.php in includes folder under main theme options. But that modification will be lost during next theme upgrade so this isn’t preferred solution.

    Let’s try with this in your child-theme style.css:

    .comment-delete-link {
    .comment-spam-link {
    .comment-edit-link {
    .comment-permalink {
    .commentmetadata {
    .comment-meta {
    .comment-reply-link {

    You can play with positioning to adjust it to your site.

    Off course, maybe there is some better solution for this, but I don’t know it now πŸ™‚



    Thank you Luko, still figuring out how to get to the child theme style css. however, i am still wondering if it’s still worth it after the down sides you mentioned. πŸ™‚



    It’s worth it if you use child-theme or you add this code in your Graphene Options/Display/Custom CSS.

    I think that Prasanna have ready made Graphene Child theme on his site:

    Graphene Child theme

    Download and install as any other theme and than put your code in child-theme style.css.

    If you do like that, you can upgrade main theme any time without loosing any changes.



    Hey Luko

    You are a genius! The code in CSS worked for me. I pasted it in the Custom CSS. I didnt down load the Prasanna file.

    Thank you so much!


Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum