Google Plus One Button For Sites Gets a +1

Today Google opened the next step in Google social +1 search results with the Google Plus One button for websites and blogs

UPDATE: Also just released the first Google Chrome Google +1 Extension here too!

Here’s how to get yours. But first a word of warning. If you have no experience with basic code, Be sure to back up your single.php file thru FTP.

The file is on your site, in the public_html folder >>> in wordpress_themes >>> themes >>> under the name of your theme. Just copy the file named single.php to your machine and if something goes wrong just replace the old file with the original file.

OR have an experienced WordPress coder do this for you.

First opt into the Google +1 experiment here…. BUT be sure you are already logged into the main Google profile you use for Google Buzz and your Google profile.

First get your code here on the Google Webmasters site.

Next using this simple interface you can grab the code you need.

But what do you do with that when you get it? Well here is the simple answer and it is not about sidebar widgets, that is not going to work here.

First off, this code is for WordPress standalone blogs hosted on a domain, not WordPress.com sites.

If you want to add the +1 button and add sharing buttons to Blogger blogs, follow these steps.

Below is the code to add the exact buttons you see right next to the image above. These are the top sharing sites on the web, and the only ones I use on my sites, just as you see it on this post.

Next go to WordPress, log in, click “Appearance” in the left navigation, then click editor, then click “Single.php” in the right hand list of files.

Now look for this line of code….

<div class=”entry-content”>

It will be about 10 lines down from the top, depending on your theme.

Directly below that line of code add the code above, Paste in the code above in the text box by right clicking the text box, select all, then right click the highlighted code select “Copy”…

Then paste the text in the open line below the code line above. Click save at the bottom of the theme editor in WordPress.

Now on any blog post, these buttons you see on the right in this post will appear. Just that simple.

If you already have these buttons in your single page, you can just use the Google supplied code at the link above to add just the Google +1 button to that existing set of buttons.

The reason we put these buttons on your site in the single.php file, is that we want the Post to be shared, not the site. So putting these buttons in a sidebar widget will defeat the purpose, We only want the post as a single page to be shared.

Other wise you will find that your domain is shared and you don’t want that. The reason being is that if someone goes thru that sharing link later after new posts have pushed what was meant to be shared down the line they will not see what was originally shared. That can cause all kinds of problems.

Now go to the domain or main page of your blog, click on a permalink to a single blog post and these buttons will appear in your post. Simple, effective and you can get this going now, not wait until someone releases a plugin that supports Google +1!!!

If you have any questions just post them in comments below, I will be glad to help.


31 comments on “Google Plus One Button For Sites Gets a +1

  1. Excellent, Chris, and thanks.

  2. I just got home from a 12 hour work day and think I am too tired for this to make sense right now, plus I have widgets on all my blogs and that right there tells me I am going to have nothing but trouble unless I can figure out how not to use the widgets.

  3. I just got home from a 12 hour work day and think I am too tired for this to make sense right now, plus I have widgets on all my blogs and that right there tells me I am going to have nothing but trouble unless I can figure out how not to use the widgets.

  4. No Rocque, you don’t. Just remove the sharing widgets and add this code.

    This is not about sidebar widgets, this is about code in the blog post itself.

    And these are the only ones you need, the rest a low trafficked and not worth the space they take up. These are the top 5, you don’t need anymore.

  5. Thanks for clearing that up. I am going to make that something to do tomorrow. I am done for today. My brain can’t do any more.

  6. Thanks for clearing that up. I am going to make that something to do tomorrow. I am done for today. My brain can’t do any more.

  7. Just put it on my local site – worked like a charm! Thanks Chris!

  8. Thank you Chris your instructions were very easy to follow. I have now added it to my site.

  9. Thank you Chris your instructions were very easy to follow. I have now added it to my site.

  10. Ha, ha… always on top news from Goog. Well done Chris. I just add +1 to the blog but still have some problems to align it.

    Would be great to have more flexibility with this code.

    Val

  11. … just to be understood, I thought about the code from Google!

  12. … just to be understood, I thought about the code from Google!

  13. Chris you were first with this breaking news. I see other people who subscribe to you and who I also subscribe to are now adding this information to their newsletters and blogs.
    I guess it does not matter who was first, but as far as who I subscribe to, you were like 12 hours ahead.

    I will be adding my +1 tonight, and I will let you know how it looks.

    Thanks for your infinite patience with our questions.

  14. Hey Chris,
    Muchas Gracias Amigo!

    I am having the code added to my blog as we speak.

    Great job!

  15. Hey Chris,
    Muchas Gracias Amigo!

    I am having the code added to my blog as we speak.

    Great job!

  16. Personally you get caught up in being too techie and make it difficult for non-techies like myself what this and the mobile gadget means, so one puts in this bit of code and then what happens. Just another button on the site to press. What’s in it for me and my clients. The gadget mvp you had a while ago well I didn’t understand it and what are the benefits. It’s just too technical and I ge t lost in a cloud of haze. If you explained more about what it does and who it can help and how it helps them and how to use it, you will sell a whole lot more. Sorry to be bit of a thicko but you lose me.

  17. Awesome! Thanks Chris ;0)

  18. Awesome! Thanks Chris ;0)

  19. Hey Chris, that specific line of code wasn’t in my theme. I did find this one though:

    is that the one I’m looking for?

  20. sorry, the code didn’t show up… i’ll post it on buzz or just email it…

  21. sorry, the code didn’t show up… i’ll post it on buzz or just email it…

  22. Plugin for sale already in the Warriors Forum.
    But, Im cheap so thanks

  23. I love these buttons and will attempt to find where I need to change the code. Thanks Chris!

  24. I love these buttons and will attempt to find where I need to change the code. Thanks Chris!

  25. Chris, I think you should write an e-book on coding wordpress blogs. I’m lost without your help! Just kidding, these are much appreciated!

  26. If you want to change the code Debbie, or anyone, look for the <br/> tags, they are the break points between each button.

    But really, these five buttons should be on any blog to get the best sharing and viral traffic for the space they take up.

  27. If you want to change the code Debbie, or anyone, look for the <br/> tags, they are the break points between each button.

    But really, these five buttons should be on any blog to get the best sharing and viral traffic for the space they take up.

  28. Lets see if I can get it up on my blog…

  29. Hal Grant on said:

    Chis, give some thought to what Dave Parker posted. Might be a project for your other half to work on from a “touchy – feely” perspective.

  30. Hal Grant on said:

    Chis, give some thought to what Dave Parker posted. Might be a project for your other half to work on from a “touchy – feely” perspective.

  31. Hi Chris, I really like this. Only thing is I’ll have to change my name. Doesn’t accept 1st Autumn. Damn!! Really don’t want to use my real name. hmmm.