NAS Technology Consulting

How to Add the GooglePlus +1 Button to Your WordPress Posts

July 19th, 2011
  • Posted By: Nick Shertzer
  • Comments Off on How to Add the GooglePlus +1 Button to Your WordPress Posts

Google +1 Webmaster Dev Page

plusone

Certain code snippets need changed slightly to add to a wordpress site.

Edit theme footer.php and insert the following just before the closing body tag:

This calls the Google Analytics tracker into play.  Now open your theme Single Post single.php and add the following snippet:


size can equal small, medium, tall or leave out all together for standard

count equals true shows the number of +1 votes, equals false hides that from your page

callback adds site tracking analytic data for Google +1 clicks that can be viewed in Google Analytics.

0 Comments