twitter
    Find out what I'm doing, Follow Me :)

Embreding a comment box below post body

I found this trick on Amanda's blog. Really i came very handy to me too. By using this trick you will be able to show your comment box , just below your post body. This is very essential if you want to encourage your readers to comment because many of them feel lazy to do it.

How here is what to do. First go to draft.blogger.com and select your blog.


Now to go the Setting tab
Now you will see a option as Comment Form Placement
In there , select Embedded Below Post



1. Edit your template ( How to edit your template )
2. Press Ctrl+F and search for
comment-footer


Now you will find out some code lines similar to


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


now replace below codes with the above


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


Now follow the Safety Saving Steps.

And




If this trick didn't work out for you , here are some options to do.

Option 1

Search for <b:include data='post' name='comments' />
change it with this code <b:include data='post' name='comment-form'/>


Option 2

Check out whether you haven't un check comments option in layout > Configure Blog Posts


Option 3

check whether you have changed these things using draft.blogger.com

0 comments:

Post a Comment