How to add Google Plus one button to WordPress & Thesis

Share this post:

Recently Google announced the launch of their Plus one button. It’s very similar to Facebook like Button.

By adding +1 to your pages you can make your blogs stand out. Plus one buttons let people who love your content recommend it on Google search.

What is the Google +1 Button?

Use the +1 button to publicly show what you like, agree with, or recommend on the web. The +1 button can appear in a variety of places, both on Google and on sites across the web. For example, you might see a +1 button for a Google search result, Google ad, or next to an article you’re reading on your favorite news site.

How to Add Google +1 Button in WordPress?

Place this tag in your head or just before your close body tag

<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

Next, place this tag where you want the plus one button to render.

<g:plusone></g:plusone>

For Thesis Users

If you’re using thesis framework then you’d need to add this code in custom_functions.php

function google_plus_one_button() {
	?>
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
	<?php
}
add_action('wp_head', 'google_plus_one_button');

If you don’t like to play with code then use a simple method Dashboard > Thesis Site Options > Stats Software/Scripts and paste it. Click on Big save button and you’re done.

Then you’d need to render the plus one button where you want.

<g:plusone></g:plusone>

Google has created an official page for web site publishers to easily add the  Google +1 code.

You can check the video below to get an idea about how google +1 buttons work..

Would love to hear your thoughts on +1 button? Do you think it will be another Google Buzz? Will you be using it?

About the Author: Devesh Sharma is a WordPress fanatic and loves experimenting with WordPress themes & plugins.Get more from Devesh on  and Twitter.
14 comments… add one
  1. Adrienne says

    So in your opinion Dev do you think it’s a must to put this button on your blog? How many people will actually share the content on all the sites we’ve given them the buttons to? Would be curious to hear your opinion on this.

    I guess my next question would be how can we put these extra buttons on our site say at the bottom of our posts without your place looking so jumbled up? I know, way too many questions right! But I’d like to add a button for Blokube and a few more which is why I ask. I just don’t like my site to look junkie, that’s all. Can you point me in the right direction? You’re the man!

    Thanks Dev, will wait to hear what you have to say about this one.

    Adrienne

    • Dev says

      Adrienne,

      I believe that this plus one button will certainly have a significant impact on search rankings/ results in the near future. So it’s best that you start using it right away and take full advantage of it.

      It all depends on the quality of content. If you’ve a high quality content on your blog then people would love to vote on the social media sites.

      Adding social media buttons after the post would be very easy, I’m going to write a tutorial about it. Though, if you don’t want to play with the theme then you can use ‘ShareDaddy’ (that’s what I’m using on http://blog.blokube.com) or try ‘Digg Digg’ Plugin.

      • Adrienne says

        Thanks Dev, I appreciate that. I use to use ShareDaddy but don’t really care for that one. I was thinking more along the lines of the buttons you have on the left side of this blog, but is it available to actually place anywhere on your blog instead of just to the right or the left?

        Will definitely be looking forward to a tutorial about this one.

        Adrienne

        • Dev says

          The buttons on the left side are floating one and only for left or right floating.

          To place all the buttons with counts you can use ‘Digg Digg’ wordpress plugin which works exactly how you wanted.

  2. Stella | Enchant Your Readers says

    Thanks Dev, for these steps, and the code.

    I see +1 now on search results and now is a good time to start exploring it, to ensure to get the most of what Google plans for it:)

    Quick question, can you tell how you got your own “+1″ on the floating bar (left) and which particular bar that is?

  3. Stella | Rapid Amazon Profits says

    Thanks Dev, much appreciated.

    Sorry for this newbie question – so, if I add the codes you gave here, and I have sharebar, the +1 will automatically go to the sharebar?

    • Dev says

      You’re always welcome, Stella.

      Yes, you have to add the googe +1 code in Sharebar settings page and +1 head tag in the header of your theme file just before .

  4. Joanna | Online Marketing Plan says

    Hi Dev, I added the +1 button just yesterday without touching the code of course, I had it outsourced to be placed as a custom code button on my share bar.

    I love blogging and online marketing but touching code is not my thingy :)

    Enjoy the rest of your day,
    Joanna

    • Dev says

      Oh Joanna. It is good to see you’re outsourcing techie (time consuming) things..

      Thanks for stopping by.

Leave a Reply