Saturday, 14 January 2012

How to Enable Threaded Comments on Blogger Blog


How to Enable Threaded Comments

You don’t need to do anything special to enable threaded comments on Blogger. If you have commenting enabled on your blog, then threaded commenting will be enabled by default for you provided you have your blog feed set to “Full” and have chosen the “Embedded” option as opposed to “Full page” or “Popup window”.
To set your blog feed to “Full”, you must go to Settings -> Other and select Full feed from Allow Blog Feed drop-down option.
Blog Feed
To enable embedded comments, select Settings -> Posts and Comments and select Embeddedfrom comment location drop-down option.
Embedded Comments
When you enable both these settings, threaded comments work fine on default Blogger templateshowever if you are using a customized blogger template, threaded comments may not be visible for you. But no need to worry, I have found a solution for it. You need to add the following code to your template if threaded comments are not visible on your blog.
Note: Before following the below mentioned steps, I advice you to take a full backup of your blogger template. I will not be responsible for any errors arising in your template due to this.
1. Sign in to your Blogger dashboard and go to Template -> Edit HTML -> Proceed. Now checkExpand Widget Templates and find the following piece of code:
<b:includable id='main' var='top'>
Below this code you may see the following code:
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<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>
2. Now replace this code with the below mentioned code:
<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>
3. Save your template and now threaded comments must be visible for you.
I hope it helps to add threaded comments to your blog. If you face any problem, don’t hesitate to leave a comment here.

ADVERTISEMENT

Related Posts Plugin for WordPress, Blogger...