Learn Thesis Theme Fast to Build Unique and Beautiful Websites

  • Thesis Designer Guide is the fastest way to learn the Thesis framework.
  • A step-by-step guide walks you through all the essential things you need to know to become a Thesis design expert.
  • You don’t need to be a programmer to learn Thesis design.
  • The complete Thesis Designer Guide covers all the coding basics and tools needed to become a Thesis expert.

Learn Thesis Theme! Get Started Now!

How to add Google +1 button in thesis theme

by in Thesis Theme Customization,Thesis Theme Tutorials

Google is now focusing on the use of social media on search results. Previously google has tried this concept google buzz button. But now Google has launched google +1 button. It improves search engine ranking in google search results. So add google +1 button and improve your traffic.

In this post I am going to explain about, how to add Google +1 button in thesis theme?

In 2 simple steps you can add google +1 button to your blog post in thesis theme.

Step by step process.

1st step:

Copy below code and paste in thesis–>site option–>Stats and software scripts.

to get your code click here

thesis site option

 

2nd step

Copy below code and paste in Thesis–>custom_function.php
function googleplusonebutton() {
if (is_single()) { ?>
<div class=”googleplusone”>
<g:plusone size=”tall”></g:plusone>
</div>
<?php
}
}
add_action(‘thesis_hook_before_post’, ‘ googleplusonebutton ‘);

Copy below code and paste in Thesis–>custom.css

.custom .googleplusone { float:right; padding-left:5px; }

Now you can see Google +1 button in your blog post page like below image.

google +1 button post

If you like this post, share with your friends.

{ 3 comments… read them below or add one }

Edille

Once again, Thank you for this tutorial :D

I just added my own +1 button in my site.

cheers :D

Reply

Anonymous

Thanks, google 1+ is live on my blog but I would like to place it on teaser for thesis theme. pls reply

Reply

admin

Leave a Comment

Previous post:

Next post: