Facebook Home-Convert Your Smartphone To Facebook Phone

On Friday Facebook made available Facebook Home in Google play store which converts smart phones in to Facebook phone. It is more thanĀ  app but not a new mobile operating system. By installing this app in your phone you can easily follow social network any where you are, your profile pic will be displayed on lock screen and your Continue Reading...

Temple Run 2 Game Review

Temple Run 2 is a sequel to the game called Temple Run which is the most popular game on iOS and Android devices. This game is much better than the first one with improved graphics and new levels of gameplay. The game is all about escaping, this one got some new mechanics like traveling through zip line and mine Continue Reading...

Acer introduced low cost Tablet Iconia B1

As the Tablet competition among various brands are increasing day by day and there are only few companies who released Tablets at very less price. Now Acer introduced Iconia B1 Tablet at an affordable price of Rs.7999 in India and it comes without compromising the features available in other Tablets. As it runs on Android platform users can enjoy thousands Continue Reading...

Sony's Water And Dust Resistant Xperia Z Phone

On January 7th Sony introduced brand new phone Xperia-Z which has the most stunning display among all sony mobile phones. It runs on Bravia-2 Engine which shares same capabilities of Sony Cameras that means we can snap photos and capture videos that gives best clarity even in the strong backlight conditions. Xperia-z is water and dust resistant phone which is Continue Reading...

iPad Mini And iPad 4 Announced

On Tuesday Apple announced the rumored iPad Mini and detailed specifications on fourth generation iPad. The smaller iPad i.e iPad Mini runs with the same speed of regular iPad and it has same display resolution of iPhone 5. Here are the full specifications of iPad Mini iPad Mini Specifications 7 inch IPS display. 7.2 mm thickness. Runs on Dual Core A5 Processor. 5 MP Continue Reading...

Amazon Kindle Fire HD Tablet Announced

Amazon's new Kindle Fire HD is announced which is going to be a strong competitor for Google Nexus. This new e-book reader got a HD display with resolution of 1920 x 1200, this makes crystal clear for reading books and watching movies on this display from any angle looks great. The inbuilt storage capacity comes in 16GB and 32GB Continue Reading...

Blogging Tips

How To Add Google Plus 1 (+1) Button In Thesis Theme

google plus 1

google-plus-one-button

Adding Google plus 1 or +1 button in Thesis Theme is very easy we can do it without using any plugin. I will tell you on how to do it before that we need to know the benefits of adding Google +1 button in our website.

Uses of Google Plus 1 Button :

If you click on plus one button for a particular topic then it helps your friends, family and others on web to find the best information. These are the recommendations that shown to the users only when they search for topic by signing in to the Google profile.

I already added Google Plus 1 or Google +1 button in my website and i am using Thesis theme. So i want you to help other bloggers on how to add this plus one button in Thesis theme.

Adding Google Plus 1 Button in Thesis Theme :

Go to your Dashboard by logging in to your website then go to Thesis Site Options, in that under Stats Software/Scripts section add the below java script code.

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

 

google_plus_one button

After adding that code then click on Big Ass Save button.

Next step is add this code in your custom_functions.php file

function Google_button() {
if (is_single()) {
 echo '<div style="float:right; padding-left: 5px;"><g:plusone></g:plusone></div>';
 }
}
add_action('thesis_hook_before_headline', 'Google_button');

Note : Please backup this file if something goes wrong then it helps you

The above code will makes to display Google +1 Button on each and every post title and another option is you can also use Thesis open hook plugin to place the code at particular place in your Thesis theme or just simply you can add this short html code at any place

<g:plusone></g:plusone>

google_plus_one_ex

if you want to display plus one button like box count then add this code

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

I hope this adding Google Plus 1 tutorial will helps you and let me know that you added this on your blog or not?

 

Posted on by karthik in Blogging Tips, Tutorials Comments