• Skip to primary navigation
  • Skip to main content

WebGuide4U

Photoshop | WordPress | Webhosting | Web Designing | Discount Coupon

  • Homepage
  • About Us
    • Author
  • Advertise
  • Free WordPress Installation
  • Contact Us
  • Show Search
Hide Search

[How-To Guide] Add Google +1 Button In Thesis WordPress Theme

WordPress no doubt one of the most popular CMS and Google King of search engine. Recently, Google Announced its +1 Button and as a WordPress user you want to implement it on your blog so that you can increase your search engine rankings.

Well I’m using Thesis WordPress Theme and I face no problem in adding Google +1 Button and you can see it in action here:

google-1-button

In this post I’m sharing how to add Google + Button in Thesis WordPress Theme.

Step1: Log-in into wp-admin panel, go to “Thesis” tab and click on “Site Options” as shown below:

add-google-1-button

Step2: When you click on “Thesis” tab, it open new window like this:

add-google-1-button1

Step3: Now follow this link and get your Google +1 Button from there:

add-google-1-button2

Step4: Now copy this code:

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

Step5: After copying above code, paste this code in “Stats Software/Scripts” as shown below and click on “Big Ass Save Button”.

add-google-1-button3

Step6: Now click on “Custom File Editor”,  as shown below:

add-google-1-button4

Step7: Now select “custom_functions.php” and click on “edit file” as shown below:

add-google-1-button5

Step8: Now copy this code:

function google_button_left1() {

if(!is_page()){

?>

<g:plusone size=”tall”></g:plusone>

<?php } }

add_action(‘thesis_hook_before_post’, ‘google_button_left1’);

Step9: After copying above code, paste it in “custom_functions.php” file and click on “Big Ass Save Button” as shown below:

add-google-1-button6

Step10: Congratulations, you have successfully added Google +1 Button on your WordPress powered site.

Isn’t it too easy? Meanwhile if you have not get your copy of Thesis WordPress Theme, then get it right now:

Sign-Up Link for Thesis WordPress Theme

If you have any query let me know via comments. To get latest updates on Thesis Tutorials, do not forget to follow on Twitter and Like on Facebook

If you need any professional help in customizing Thesis WordPress Theme you can hire me or get in touch using Free WordPress Installation Service.

How-To, Thesis Customization

Reader Interactions

Comments

  1. Techmistry says

    June 2, 2011 at 14:21

    I have tried this, but its not working…

  2. Vivek Parmar says

    June 3, 2011 at 04:40

    Follow the steps again and still you have any problem let me know.

  3. Charley Bach says

    June 3, 2011 at 19:52

    Got it and it works. Thanks a bunch. what if we wanted this to appear with posts or floating on the page. is it possible to show the code to allow that change?

  4. News about the world says

    June 24, 2011 at 16:41

    I have tried it brother, but it is not working. You can view the source code of my website, and check it is present. However, it is not appearing in posts.

    I have also tried the Google link unit How-to, but that one is also not working. 🙁

  5. Vivek Parmar says

    June 24, 2011 at 19:40

    Give one more shot again, you will be able to add Google +1 button. If you are unable to add then let me know

  6. news world report says

    July 7, 2011 at 10:55

    I am not sure, but when I added the code to addition scripts, it just worked. It was not working in the stats software and scripts section.

    Thank you any way for your tutorial 🙂

  7. Vivek Parmar says

    July 8, 2011 at 01:56

    @News World Report: this code works, it is working for me, try again hope it also works for you. If you have any query get in touch using contact form

  8. Anil Agarwal says

    July 15, 2011 at 08:39

    Hi

    I don’t know anything about PHP and all. ‘m also using thesis on my blog. I’m fine with the rest of steps, but I had problem at step 9. I’m unable to understand where I have to exactly place this code in custom_function.php file. I want to show Google plus one button at single post towards right with the rest of 4 icons available.

    Please guide for the same.

Leave a Reply

Your email address will not be published. Required fields are marked *

Hit the ground running with a minimalist look. Learn More

WebGuide4U

All rights Reserved. Articles cannot be reproduced without permission from the author© 2025