How to Enable Google+ Comments in Blogger

Posted by Lasantha Bandara on March 7th, 2015 File Under : comments, google plus0 Comment

If you are using a blogger.com default blogger theme, you can display Google+ comment form/comments just enabling Google+ comments through your Blogger Google+ settings. But if you are using a custom blogger template, sometimes Google Plus comments will not appear in your post pages when you activate it in the settings. Instead of that, both Google+ and defaults blogger comments will disappear. In this tutorial I am going to explain how to fix this problem.

Before do any change to your blogger theme, you must backup it first. Don't forget to do it, if you don't like to loose all customization did to the theme.

First, make sure that you have activated Google+ comment in Blogger settings.

https://www.blogger.com/blogger.g?blogID=YOUR_BLOG_ID#googleplus

Now go to "Edit HTML".

Find this:

<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
  <b:if cond='data:post.showThreadedComments'>
	<b:include data='post' name='threaded_comments'/>
  <b:else/>
	<b:include data='post' name='comments'/>
  </b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <b:if cond='data:post.showThreadedComments'>
	<b:include data='post' name='threaded_comments'/>
  <b:else/>
	<b:include data='post' name='comments'/>
  </b:if>
</b:if>

You will found it 2 times. Now replace that both codes with below code:

<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
  <b:include data='post' name='comment_picker'/>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <b:include data='post' name='comment_picker'/>
</b:if>

Finally save your theme.

File Under : comments, google plus

Related Posts

Leave a Reply