Saturday, July 5, 2008

How to embed a comment form beneath your blog post in blogger

>

If you have been following the latest developments in Blogger or reading this blog, then you must have read about the new feature in Blogger in Draft that allows you to embed the comment form beneath your blog post, similar to Wordpress. This is something Blogger users have been asking for years, and finally it's here. Now I will show you how to do it in your blog.

  1. Sign in to http://draft.blogger.com/
  2. Click on Settings and then click on Comments.
  3. Under the "Comment form placement" setting check the radio setting for "Embedded below post"
  4. Now go to Layout>Edit HTML and backup your template incase something goes wrong.
  5. Check the "Expand widget templates" box. Then search for this section of code:

    <b:include data='post' name='comments' />


    Immediately after this line, add the following line of code:

    <b:include data='post' name='comment-form'/>

Voila! The comment box now appears just after the blog post, like in wordpress!

It isn't perfect yet and there are some issues (remember, it's still in beta). The options that are missing right now are:

- It does not support subscribing to follow-up comments via email, nor does it have a preview button. (But you can subscribe to comment feed as before)
- The font color of the comment form is currently hard-coded to black. If your template has a dark background, this may make the “Comment As:” label hard to read.

Google is working on it and I'm sure when it's ready, it's going to be a wonderful addition. Thanks Blogger Buster, for this great tip!

1 comment:

Popular Posts