Wednesday 2 January 2013

Adding Threaded Commenting System To Blogger

Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.

Most bloggers are already using this system on their blog, but i never used it because i'am using Disqus commenting system, which is better than Blogger commenting system. My brother created a blog call My Droid Arena, and he is using this threaded system in his blog.

After using this trick your Blogger comments will have a reply option. Now let's get started:

  • Go To Blogger > Template > Edit HTML > Proceed.
  • Select (Tick) the "Expand the Widget" Box.
  • Search for the following code:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <b:include data='post' name='comments'/>
</b:if> 

  • Once you find the above code, replace it with the following.

<b:if cond='data:blog.pageType == &quot;static_page&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>
       <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>

Now go ahead and save the template. That's it for this time. You can also customize this system with some css.
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.
 
Powered by Blogger.