Many bloggers who use un-official blogger templates can’t delete the comments on their blog because they can’t see a trash icon or dustbin icon. You may have seen this bug in Buster template and Church template also. Many people have suggested various methods of deleting the comments without a trash icon but the question is why can’t you see a Comment Trash Icon?
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'>
<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>
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.
- 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.
|
Respected Readers:
|















16 comments:
Thank You very much for this post.i am just looking for that one for few monts.now i can see trash icon and also able to delete comments.
Thanks again
@Amit
I am as happy as you are at the moment :>
Thank you Mohammad. You are the dearest!
Hi Mohd. nice post.
Please create a Myblogger tricks forum for users to comments on non post related topics. and
I noticed an interesting website I've would like to share with you here---->> http://feedsweep.com/Default.aspx
Hm, is there a way to change the trash icon?
@tasha
1.Go To Edit HTML> Check the expand Widget Templates Box
2. Find this http://www.blogger.com/img/icon_delete13.gif
3. And change it with your own image url,
By the way why would you do so for only you can see the trash icon not users?
Thank you! Oh, I'm just sick of the icon :)
Mustafa Thanks a lot. You solved my biggest problem. God bless you.
I would agree with Tasha that icon is really boring ;p
Hi, this is a completely unrelated post but since I can't find the tutorial I'm looking for, I thought I'll ask you here. I hope you don't mind :) Is there a way to change the position of 'older/newer/home' links? I know it's usually inside the main-wrapper box but I'd like very much for the links to be OUTSIDE the main box. I hope I'm making sense? I hope you can help. Thanks!
@Chris
I am publishing a post on it along with some of my personal Image buttons for home, previous and older links. Check back soon.
You can ask off-topic questions in this page -> Blogger Help
Thank you!
great work. since my blog is a do follow blog, i hate spammer who come in and drop non.relevant comment on it.
you would learn more if you visit my blog. on make money online
i love you <3
Thanks for your trick, It works well on my site right now!
This doesn't work for me. I already had both exact pieces of code. No icon :(
Thank you Thank you Thank you!
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.
Note:-
1. Please do not spam Spam comments will be deleted immediately upon my review.
2. For asking Off-Topic questions please comment on this page -> Blogger Help
Regards,
Mohammad