BTemplates Blog

Tutorials, documentation and news about Blogger.

Hide the date on Blogger’s comments

This option is not on Blogger’s options, but it can be done through CSS.

  1. Go to the “Layout” tab, also called “Design” from the desktop, and then go to “Edit HTML”. After this, check the “Expand widgets template” box.
  2. Search for the following code:
  3. ]]></b:skin>
  4. And just before write the following:
  5. .comment-timestamp {
    display: none;
    visibility: hiden;
    }
  6. This will hide comment’s date, but will also hide the icon that allow us deleting a comment as blog’s owner. If you want this icon to keep alive, then search for this code:
  7. <dd class='comment-footer'>
    <span class='comment-timestamp'>
    <a expr:href='"#comment-" + data:comment.id' title='comment permalink'>
    <data:comment.timestamp/>
    </a>
    <b:include data='comment' name='commentDeleteIcon'/>
    </span>
    </dd>

    And replace it with the following:

    <dd class='comment-footer'>
    <span class='comment-timestamp'>
    <a expr:href='"#comment-" + data:comment.id' title='comment permalink'>
    <data:comment.timestamp/>
    </a>
    </span>
    <b:include data='comment' name='commentDeleteIcon'/>
    </dd>
  8. Then save and that’s it.

Lee este artículo en español: Ocultar la fecha en los comentarios de Blogger.

7 Questions and comments on Hide the date on Blogger’s comments

atom, rss, feed, subscribe, delete | BTemplates, The Blog October 13, 2008 at 12:07 am

[…] By default, Blogger places a link at the end of the page, so users can susbcribe to Posts. If you don’t wanna show this link, here we teach you how to delete it. It’s pretty much like hidding the date on Blogger’s comments. […]

Andre April 27, 2011 at 9:22 am

thank you very much for this excellent tips, i really appreciate it. I was searching for it desperately.

ToTo June 29, 2011 at 12:21 am

Thanks. Very helpful… Need to remove the date but show the time.

ratnakar July 18, 2011 at 3:04 am

Thanks,, It helped me

jimmy April 3, 2012 at 3:08 pm

Hi,
This code don’t hide my comments dates on Blogger.
What can i try ?
Thanks

will April 12, 2012 at 1:51 am

I tried the above but the date/time still shows. Can you please confirm or show exactly what you mean by ‘And just before write the following’.. Does this mean above this script or what? This is how it looks on mine: ..Thanks

.comment-timestamp {
display: none;
visibility: hiden;
}
]]>

Wen Aulia Gayo July 2, 2013 at 8:07 pm

interesting tips I should to try and make sure it is functioning properly, how its work fine for a blog. thank you

Leave a Reply