Home » 2011 » March » 8 » Tips to Add A Comment Form Below Posts
11:02 AMTips to Add A Comment Form Below Posts
Most Gurus know how important Feedback are from our readers, I personally love every comment. |
But in blogger blogs, we find that the comment form is not embedded below the post area which is a feature found in every Wordpress blog.
So to have this hack on Blogger blogs follow this simple tutorial to Add Comment Form below your blogger posts:
01. Log in to your Free Blogger account by going to Draft Login Page:
And enter the required fields and press Sign In
02. On your Dashboard choose the blog for which you want to Add A Inline Comment Form and then click on Settings:
Once there, click on Comments tab and Choose Comment Form Placement : Embedded Below Post option and Press Save Settings:
03. Now go to Edit Html tab:
In Edit Html tab, before proceeding next, it would be a better idea to backup your template, by clicking on Download Full Template link:
Once downloaded, check the box to tick Expand Widget Templates:
04. Search for the below code in your template [Press Ctrl+F to search]:
<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 the above code with below 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'>
</b:if> </b:if> </p>
Now click on Preview button [a new windows or tab will open]:
By Previewing, you don't save the changes, but can ensure it be error free. If there doesn't comes any error then press Save Template.
You are done!
If still the comment form is not shown in your template,, then try this easy step:
After step 03. from above , search for below code in your template [Press Ctrl + F to search]:
<b:include data='post' name='comments' />
Add the below lines Just After the above code:
<b:include data='post' name='comment-form'/>
Preview the template, if no error comes then Save Template.
All done. You now have Embedded Comment Form below
Remember, this is a hack which will show the comment form in each individual post and not on Homepage or in archive page etc.
Hope you enjoy this
If you find any difficulty then tell me here and I will solve that
|Total comments: 1|