How To Delete Blogger Comments –Trash Icon Bug fixed!


COMMENT-BUG-FIXED 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 :)

 comment-trash-icon

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='&quot;item-control &quot; + 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.

Need Quick Help within 24 Hours? ASK NOW



If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

21 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with 'Links' will be deleted immediately upon our review.

  1. 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

    ReplyDelete
  2. @Amit

    I am as happy as you are at the moment :>

    ReplyDelete
  3. Thank you Mohammad. You are the dearest!

    ReplyDelete
  4. 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

    ReplyDelete
  5. Hm, is there a way to change the trash icon?

    ReplyDelete
  6. @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?

    ReplyDelete
  7. Thank you! Oh, I'm just sick of the icon :)

    ReplyDelete
  8. Mustafa Thanks a lot. You solved my biggest problem. God bless you.

    I would agree with Tasha that icon is really boring ;p

    ReplyDelete
  9. 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!

    ReplyDelete
  10. @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

    ReplyDelete
  11. Thanks for your trick, It works well on my site right now!

    ReplyDelete
  12. Thank you Thank you Thank you!

    ReplyDelete
  13. http://government-job-preparation.blogspot.com/delete-comment.g?blogID=

    I see one url(given above) not found in my webmaster tool how can i solve this

    ReplyDelete
  14. I tried this and I still can't see the trash icon. I don't understand why. I write my own includes with lots of if/else statements, so I can understand this code. I think everything is in order, but I still can't see the icon for my own author comments - or readers comments - when I'm logged in. Can you help?
    http://costumingdiary.blogspot.com

    ReplyDelete
  15. I checked the source code. The code is there. The icon won't display.

    When I remove this code:
    span expr:class='"item-control " + data:comment.adminClass'

    The icon magically displays.

    Is it that my blog isn't registering me as a admin of the blog? The link in my name in comments says blog_author, but the link itself takes me to my old blogger profile before redirecting to my Google plus profile.

    But still, I'm not seeing the delete icon for my own comments anyway.

    This is really, really weird.

    ReplyDelete
  16. i have put the first code, but it's not working and my trash icon still not available below comments. For second code it's no problem, because i found it in edit html

    ReplyDelete