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

Disavow Links: How to use the Google tool to ignore backlink

google webmaster toolsHere is the last function inserted in webmaster tools: a new tool that will ask Google to ignore (disavow) the backlink you think of low quality, but above all can be so regarded by Google, thus eroding the quality and positioning of the your site.

Using Google we can find credit card numer, password, mp3, and a lot of interesting information.

Using Google, and some finely crafted searches we can find a lot of interesting information.

 
For Example we can find: Credit Card Numbers / Passwords / Software / MP3's ...... (and on and on and on)

Crawling Tools: 3 SEO tools for advanced analysis of your website

CRAWLING TOOLSOne of the main tasks of SEO is to take care of the  technical optimization of the website at the structural level.

This operation is not always easy and often is not possible to perform this type of analysis simply relying on good human eye. Precisely for this reason today I wanted to collect 3 crawling tools very interesting: Xenu, VIsual SEO Studio and Screaming Frog.

SEO: 

Understand Twitter’s Technology

twitter technology

Twitter uses a proprietary message-routing system that processes text-based messages from the Web, SMS, mobile Web, and instant messages. It also allows outside entities, known collectively as third-party applications, to access its servers via its open-source application program interface (API) to pass data (messages and user information) back and forth. 

Social Network: 

How to ignore a person on Facebook

ignore person on facebookEvery time you log into Facebook, you find dozens of invitations for games and applications submitted by the same person? There is a friend who continues to post objects  uninteresting , but you don't know how to get rid of them  without delete your friendship? Don't  worry.
 
To ignore a person on Facebook avoiding the unnecessary "rains" of invitations, post and notifications that can compromise the navigation on the most popular social network in the world. Are you ready to do it?
Social Network: