10/28/2008

Embedding comments below your blogger post

I had been using the "Post Comment" link for quite sometime. Blogger (www.blogger.com) has also got the comment box feature added, which I didn't notice lately. Earlier only a link to "Post Comment" was displayed for commenting to a post. I am not sure if its really known to everyone so thought of posting it.

Here are the steps to create Embedded comment box below your post.

1. Login to http://draft.blogger.com , Yes this is the URL if you want embedded comments. You will not see the option for Embedded comment in www.blogger.com link.

2. Now go to your blog Settings tab.

3. Go to Comments
tab - here
select the option "Comment Form Placement" to be "Embedded below post" (It should look like the image displayed below)






4. Then go to the bottom of page and click "Save Settings" button.

5. Now view your blog, You will not see the embedded comment box here as its displayed with individual post so click on the Post Header Link and see if comment box is displayed.


Follow the below steps if you still don't see it.


5. Go to "Layout"

6. Go to "Edit HTML"


7. Check the "Expand widget templates" box.




8. Now find below code in the html template:

<p class='comment-footer'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>
</p>



9. Then replace it with this code :

<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='comment-form'/>
<b:else/>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>
</b:if>
</b:if>
</p>

8. Click on "Save Template" button.

9. View the blog, now your comments should be embedded at the bottom of your posts.

4 comments:

  1. I followed all the steps mentioned here but I am not able to see the comment box. What could be the problem?

    ReplyDelete
  2. The Comments will be visible when you click on the post link directly. If the post is displayed in your blog home then you wont see it.

    ReplyDelete
  3. Thank you for providing this information Embedded comment box below your post. I plan this for my next project.

    ReplyDelete

Got something to say? Don't hold it! Tell it to us.

You Might Like

.....