Add google+ comments on site/blog, Drupal and Wordpress

add google plus commentsFrom a few months, you can enter Google Plus comments directly on your website or on your blog ...
 
How?
 
Simply pasting the code below in the exact spot where you want to show the comments.

Currently the code is not official, so there is neither support nor documentation or whatever, it's your choice to implement it or not:

<script src="https://apis.google.com/js/plusone.js">{lang: 'en'}
</script>
<div class="g-comments"
data-href="[URL]"
data-width="582"
data-first_party_property="BLOGGER"
data-view_type="FILTERED_POSTMOD">
</div>
 
The code "{lang: 'en'}" is default but wishing you can choose any language
Replace instead of "[URL]" the address of the web page where you go to enter the comment box. Instead of "642" enter the width of the box (adapting it to the size of your site-blog).

Google Plus Comments in Wordpress

If you use WordPress and you want to insert the code manually, use this (instead of the one above):

<script src="https://apis.google.com/js/plusone.js">{lang: 'en'}
</script>
<div class="g-comments"
data-href="<?php print get_permalink(); ?>"
data-width="582"
data-first_party_property="BLOGGER"
data-view_type="FILTERED_POSTMOD">
</div>
 
As you can see, the URL is automatically generated for each page thanks to the "get_permalink ();".
 
If you do not want to hack the code and always use WP, there is the WordPress plugin Google Plus Comments, simple and functional.

Google Plus Comments in Drupal

The procedure to insert the code in a drupal site is the same as above: open the page.tpl and paste the code where you want it.
 
More simply, you can download the Google Plus Block Comments module available for drupal 6 and 7.
Social Network: 

Similar Content

Apple says stop the chip samsung

appleThe house of Cupertino and Samsung, a long time partner rehearsed in important commercial partnerships for the production of high-tech components, are now opposing parties in a Patent War worldwide, for this reason, probably, the relationship of trust between the two groups has been gradually deteriorating.
News Magazine: 

Mobile Marketing: Getting the Most Out of Mobile Devices

Mobile devices today are increasingly chock-full of really exciting capabilities
that you should know about. The capabilities described in the following sections
help you determine the user context, which means knowing where someone
is and what he’s doing when he interacts with one of your marketing
campaigns so that you can tailor your marketing engaging for optimal results.
Web Marketing: