Add Google+ Comments to your website
Adding Google+ comments to a site allows your viewers to share your content on Google+. This is a similar service as Facebook comments with some minor differences.
One of the big differences is that all comments from Google+ will appear in your commenting system. This means that conversations that are happening in different places like your personal Google+ page, community pages, others pages who have shared your content, all will be visible together in the same place under your posts.
Using Google+ comments also allows your readers to not only comment but share your content.
To add comments to your site, add the following Javascript code to your pages:
<script src="https://apis.google.com/js/plusone.js"></script>
<div id="comments"></div>
<script>
gapi.comments.render('comments', {
href: window.location,
width: '624',
first_party_property: 'BLOGGER',
view_type: 'FILTERED_POSTMOD'
});
</script>
To display comment count, you can use the following code. By replacing the {URL}
with your posts url, you will display comment count of the page.
<div class="g-commentcount"data-href="{URL}"></div>