Add comment box to your blog

Don't you have comment box in your Blog ?

Want to add comment box beneath your Post.It will help your readers to comment on your evry post after every read.

For this you should do some techniques in blogger.Just Follow me :



  • Dashboard

  • Settings

  • Basic

  • Look on "Comment from Placement" and select "Embedded below post " .



  • Simply go to Layout>Edit HTML in your blog's dashboard and check the "Expand widget templates" box. Then search for this section of code: 

<p class='comment-footer'> <b:if cond='data:post.allowComments'> <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a> </b:if> </p>
  • Replace this entire section of code with the following instead: 

<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>
  • Then save your template. Now when you view a post page in your blog, you should see the new comment form in place!



Update: As many of you have pointed out in the comments, not all templates feature the code I've described above.



Luckily, Is has offered a method which is much easier to use, and has worked for every template I've tried so far. So if my original method isn't working for you, try this instead:



Search for this line in your template code:



<b:include data='post' name='comments' />
Immediately after this line, add the following line of code:

<b:include data='post' name='comment-form'/>
Then save your template. This method adds the required code for the comment form without having to alter the whole comment area, and is very useful if you have experienced problems using the original method Thanks for the hint, Is!



If you don't see your comment form, make sure you have changed this setting through Blogger in Draft and have added your code in the correct place in your template.



You can see this comment form in action beneath this post. Using this comment form allows readers to comment using their Google account, OpenID, Name/URL and all of the settings previously available when using a pop-up or full page comment form (depending on the settings you have chosen).



Please let me know what you think of this new feature by leaving your comments below.