Saturday, September 3, 2016

Embed comment box below blogger post

Embed comment box below blogger post



          Wordpress has great feature that allows everyone to see commments right below post , but blogspot users doent have these feature . To make it work, you will need to make some changes in template code manually. The process is simple as follows , and takes no time to embed comment box to make blog look more featureful
Heres how :


Enter Blogger in Draft (Not Normal blogger).
Go to “Settings” tab and then to the “Comments”.
There you will find a new section “location of the feedback form” with options
Save the settings and go to the tab “Design” and then to the “Edit HTML” checking Expand HTML.

Now look for the following code :


  
<a expr: href=’data: post.addCommentUrl’ expr: onclick=’data: post.addCommentOnclick’><data: postCommentMsg/></a>


And replace it with :
     

 <b: if cond=’data: post.embedCommentForm’><br />

<b: include data=’post’ name=’comment-form’/><br /><b: else/><br /><b: if cond=’data: post.allowComments’><br /><a expr: href=’data: post.addCommentUrl’ expr: onclick=’data: post.addCommentOnclick’><data: postCommentMsg/></a><br /></b: if><br /></b: if>



Save the changes and you are done!
This may not necessary work for most of the users , so always backup your template before you try to tweak it ! It worked on mine , and i hope it will surely work on your template :D
Example : You can see comment box below this post :P

Available link for download