If you look at my templates i never used delete icon in the comments and i still wonder why i dint notice untill one of my template users asked me why i am unable to delete a comment.In order to help her and others i am writing this article on how to add delete icon link to the comments manually.
I will take my floral blog as an example to show you how to add delete comment link to the comments manually.
- Go to Layout > Edit HTML
- Search for the “comment by” and paste the below code after “<data:comment.timestamp/>”
<span expr:class=’"item-control " + data:comment.adminClass’> <a expr:href=’data:comment.deleteUrl’ expr:title=’data:top.deleteCommentMsg’> <img src=’http://www.blogger.com/img/icon_delete13.gif’/> </a> </span>>
- After adding the delete comment link the comments page looks like
Hope you like the article.