It was always a headache for me on how to solve this issue. With the release of Cute Box template
AlhamdulillAh my developing skills some how improved. The reason why
you can not see a trash icon below your post comments while logged into
blogger account is more simple than we expected. There is a small piece
of missing code that is responsible for making the dustbin icon appear.
This is what you need to do,
Delete Blogger Comments Easily By Fixing The Trash Icon Bug
- Go To Blogger > Layout > Edit HTML
- Check The “Expand Widget Templates” box at the top-right-corner
- And search for this piece of code,
<dd class='comment-footer'>
- Just below <dd class='comment-footer'> paste the code below,
<span class='comment-timestamp'>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
- Save your template and preview any of your blog post to see a beautiful trash icon below each comment :)
Troubleshoot
If for some reason you still can not see a trash icon below your blog comments then follow an additional step.- Inside Edit HTML search for ,
<b:includable id='commentDeleteIcon' var='comment'>
- You will find a similar big chunk of code below it,
<b:includable id='commentDeleteIcon' var='comment'> <span expr:class='"item-control " + data:comment.adminClass'>If you are not able to see a trash icon then most probably this piece of code will not be well scripted. Simply replace your current code with the bolded green code shared above.
<a expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'>
<img src='http://www.blogger.com/img/icon_delete13.gif'/>
</a>
</span>
</b:includable>
- Finally save your template to really see a trash icon this time!
That’s All!
I
hope this will be a great sigh of relief to many Blogger designers and
developers. This will surely help in dealing spam comments more
effectively. I request everyone to kindly link back if you wish to share
this tutorial with your readers.