How to Add Google +1 Button WordPress

Posted by jtpratt |02 Jun 11 | 5 comments

Google announced today on their blog that you can add the Google +1 Button to your own website with some very simple code. So, here I am to show you how to customize your own WordPress theme to add it yourself!

Google makes it really simple with their new API, all you have to do is inside your WP dashboard just to go “Appearance”, and then “Editor” and click on the “footer.php” file (link is in the right sidebar).

Then just copy and paste the code before your closing body and html tags as in this image:

google-+1-button-wordpress

(click image for full size)

Then, choose where you want the button to appear, and add it in the appropriate place. For this website, we chose to add it only on full single post pages, so we clicked on “single.php” in the editor from the dashboard and added the single line of code like this right after the_content line (so it would appear after the post – like we wanted):

google-plus-1-button-wordpress-theme

(click image for full size)

Where you put it is of course up to you entirely. According to the official WordPress post big sites like Huffington Post, Mashable, TechCrunch, Best Buy, Reuters, The Washington Post, Nordstrom, and Rotten Tomatoes are adding it as well. If you use the Facebook like button, why not have this one too (it could mean more search traffic from Google!).


5 Responses

  • Moser Kostas/ 02 Jun 11 @ 2:37 AM

    To bad that +1 button is only for English results from google.com. According to Google Blog they will add this future in other languages too which is amazing.

  • David/ 02 Jun 11 @ 3:28 PM

    I would like to hear your guys opinion on how this will effect future search results and seo, I’m sure this will become built into their normal algorythm

  • admin/ 03 Jun 11 @ 10:30 AM

    It will affect it like anything else, Google currently used more than 200 “ranking signals” when determining your online authority. The +1 button and the new Chrome spam filter just add 2 more…

  • Anonymous/ 04 Jun 11 @ 10:17 PM

    I’ve been hearing this Google +1 lately, though I’m not sure if its different from the Google Wave from before? But I guess it’s worth a try for adding this snippet on my blog as well.

  • Jon/ 05 Jun 11 @ 3:08 AM

    Sweet, I’ve been wondering how to add Google +1. You’ve got to keep up with the times I guess!

Leave a Reply