Monday, 18 June 2012

How to get reply option on your Blogger comment/ Threaded comment

get threaded blogger comment with reply option and fix errors
This will be relatively short post. I have decided to finally try out all the features of default blogger comment system. First thing to do was enable threaded comment. Unfortunately my custom blogger template didn't like this and didn't let me enable threaded comment. After two hours of messing with codes I realized I was missing something. I saw many questions on blogger forum as well with the same problem. You can just as well skip two hours of wasting time and get your precious threaded comment now. Don't worry if you are getting threaded comment for the first time- just follow the first section and if it doesn't work all of it.

How to get Threaded comment- Normally

This is the only section you will need if you are using not-so-customized blogger template


1. Blog>Setting>Others
get threaded blogger comment with reply option and fix errors

2. Blog>Setting>Posts and comments
get threaded blogger comment with reply option and fix errors

3. Blog>Posts> -choose a post- >Option>Allow comment   (normally this is allowed but if not and you do everything you will still see no comment box at all!)
get threaded blogger comment with reply option and fix errors

Now how to get Threaded comment if it still not working


1. Go to blogger.com choose blog and click template
2. Edit HTML>Proceed and check the box on top leftt "expand widget template"
3. Find the code below:


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


4. Now replace the code with this:


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


Just do what I said, if you find multiple copy of any code just pretend you didn't see them!

5. Save the template

Now, thank me in the comment section!





No comments:

Post a Comment