How To Remove Blogger Threaded Comments

The Blogger Threaded commenting system allows a reader to reply to other reader comments on that post. Blogger supports threaded commenting with two levels - the original comment, and the replies to that comment. If you want remove threaded comments from your blogger blog, follow these steps:

Important!
Before anything, we need to make a back-up of our Blogger template so that if we do make any major errors, we can easily restore the original working template to our blog.

To make a back-up of your Blogger template, from your Blogger dashboard - go to Template and click on the "Backup/Restore" button on the right side.
Clicking on this button, will prompt you to save your existing template as an XML file to your hard drive. You can change the name of the file and choose the location to ensure it is easy to find if you need to use this later.

Removing the Blogger Threaded Comments (with reply option)


Step 1. Go to Template and click on the Edit HTML button

blogger template edit html

Step 2. Click anywhere inside the code area and press CTRL + F keys to open the Blogger' search box 


Step 3. Paste or type the following code - or the first line of it - inside the search box in order to find it:
<b:if cond='data:post.showThreadedComments'>
            <b:include data='post' name='threaded_comments'/>
          <b:else/>
            <b:include data='post' name='comments'/>
          </b:if>
        </b:if>
        <b:if cond='data:blog.pageType == &quot;item&quot;'>
          <b:if cond='data:post.showThreadedComments'>
            <b:include data='post' name='threaded_comments'/>
          <b:else/>
            <b:include data='post' name='comments'/>
          </b:if>
        </b:if>
Step 4. Now remove it (you'll find this code twice and replace it twice) and paste this code instead:
   <b:include data='post' name='comments'/>
          </b:if>
               <b:if cond='data:blog.pageType == &quot;item&quot;'>
                     <b:include data='post' name='comments'/>
     
        </b:if>

Step 5. Save the changes by clicking on the Save template button.

That was all!

6 comments:

  1. Hi There! Been trying to get my numbered comments back up all day, and finally realized I needed to disable my threaded comments first. Tried your tutorial and it did eliminate the threaded comments, but now it's adding extra comments (first comment says 1, second says 3, third says 5, etc). Do you happen to have any ideas for a fix for this? My blog is www.stitcherydickorydock.com, and I'd be happy to send you code, if that would help. If you are able to offer help, I'd be happy to offer a monetary donation!!

    ReplyDelete
    Replies
    1. Hello Amy,

      Search for this code in your template (make a backup first)

      <script type='text/javascript'>
          CommentsCounter=CommentsCounter+1;
          document.write(CommentsCounter+&quot;.&quot;)
          </script>

      You should delete it. Then search for something like this and remove it also:

      <span class='comm-num'>
      <a expr:href='data:comment.url' title='Comment Link'>
      <script type='text/javascript'>
      CommentsCounter=CommentsCounter+1;
      document.write(CommentsCounter)
      </script>
      </a>
      </span>

      I hope this solved your problem (please tell me if it did not)
      Thanks for visiting!

      Delete
  2. Why my template error i thing step by step on ure article not wrong,,,

    ReplyDelete
  3. OOH AM CONFUSED ALREADY..I DONT SEE THE FIRST STAGE ..I DONT SEE THOSE WORDS

    ReplyDelete
  4. I can't get it to work

    ReplyDelete
  5. thanks dude, very helpful!

    ReplyDelete

Although every comment is appreciated, due to an overwhelming amount of questions, I can no longer provide personalized help. Keep in mind that comments are moderated and may take some time to appear. All spam comments will be deleted. Thanks for understanding!