Searching...
Tuesday, 23 April 2013

How to Install GooglePlus Comments Widget on Default/Custom Blogger Templates

How to Install GooglePlus Comments Widget on Default/Custom Blogger Templates
Blogger introduced new Commenting system in Blogger, using Google plus comments. It is very easy to implement it on default templates. But how to enable it on Custom templates?. Here it is.. with a simple template hack...


How to enable this on Custom Default Templates
The new Google plus comment system can be implemented in default templates (the ones from Blogger) by Going the Google + tab of Blogger dashboard and ticking the option for the same. If you didn't link your Google plus with Blogger profile, you have to do this now.

How to Install GooglePlus Comments Widget on Default/Custom Blogger Templates

How to enable this on Custom Blogger Templates
 If you are using a theme from outside the Blogger collection, you have to do some edits in your Template. You have two options

Revert template to defaultThis is the simplest method.. Go to Template > Edit HTML.Click on Revert Template to Defaults. Select Blog1.

How to Install GooglePlus Comments Widget on Default/Custom Blogger Templates

Revert to default option
This will revert template to default, Google plus comments will appear. But I prefer second method, because it gives both Google plus commenting and Blogger default commenting. Google plus only allows registered users to comment.

Edit Template
The second method needs some editing..

  • Go to Template > Edit HTML
  • Click inside the Template Editor window and Press CTRL+F to find 

<b:includable id='comment-form' var='post'> 

  • Click on the arrow to expand the widget code
  • Add following code as next line 
    <div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/> 
  • You are done.
How to Install GooglePlus Comments Widget on Default/Custom Blogger Templates

Add the code as given above

For comments to work on custom templates, you need to add the code as well as to enable it. You can see the demo of a custom template above for yourself. I hope this post answered all your questions. If not, please feel free to ask more questions in the comments below. Cheers :)

Advantages
  • Comments becomes so easily shared: the comments are getting shared on Google plus circles, so more traffic from Google plus circles.
  • Everything in one place: If someone shares your post (from another place on Google place), it is visible in the comment section.
  • Different views for comments: User can filter comments based on the comments from their circles or 
  • top comments etc.

Some Important Points You Have Ro Note
  • If you are using Disqus or other third party commenting system, comments can't be recovered.
  • For moderating comments, you need to visit the post. You can hide, delete and approve comments from there. 
  • If you change domain name, comments are gone. So if you plan to use custom domain name, implement Google plus comments after that. 
  • No more anonymous comments. Only registered Google plus users can comment. (If you are using this method, both commenting systems are there, so no problem.) 
  • Adult and private blogs can't use Google plus comments

You Also Like:

0 comments:

Post a Comment