How To Add Google Plus One Button To WordPress In 2 Minutes [Without Plugins]

What is Google +1 Button?

Ever since the recent launch of their Plus one (+1) button, Google +1 has remained in the spotlight. Google had been testing the plus one button in their search results for 2 months before they finally announced that now it could be used on blogs as well.

By using Google Plus one buttons people who love your content can recommend it on Google search, thus helping you rank higher on SERP. Read on to find out how to add the Google plus one button to your WordPress powered blogs and other websites without needing any plugins!

Google +1  is very similar to the Facebook “Like” button, but will most likely have much larger implications for search result rankings in the future. Think this as a new way that Google has launched to tailor search engine results  and Google Adsense ads.

Advantages of Google +1 Button on Blogs

1. Faster page indexing by search engines (especially, Google).
2. Easier for you to get your well-written articles go viral when your friends and readers click the button (vote for it).
3. Better SERP ranking for your blog.
4. Better targeted ads for your visitors.
5. So a win-win for you, your blog, your visitors and your advertisers as well.

How to Add Google +1 Button to WordPress Without Any Plugin?

Google lets you use ready-made code here that you can simply paste and the button will work. But that works ONLY as long as we are talking about static pages. But if you want to add Google Plus One buttons on dynamic WordPress blog posts then you will need to make some modifications to Google’s factory-made code.

Steps 1: If you are using WordPress, find and open your header.php file in edit mode. And paste the following code right before the </head> tag.

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

Step 2: Then depending on where you want the Plus One button to appear, find that php file and open in edit mode. e.g. if you want your Google +1 button on every article (blog post) that you publish, then open the single.php file in edit mode. And then paste one of the following line of codes depending on the button size that you want.

<g:plusone size="small" href=”<?php the_permalink(); ?>”></g:plusone>
For small 15 pixel button

<g:plusone size="medium" href=”<?php the_permalink(); ?>”></g:plusone>
For medium 20 pixel button

<g:plusone href=”<?php the_permalink(); ?>”></g:plusone>
For standard 24 pixel button

<g:plusone size="tall" href=”<?php the_permalink(); ?>”></g:plusone>
For tall 60 pixel button

And that is it. Your Google Plus One button is installed and running. Now, on all your old and new blog posts a unique button will be displayed, using which your visitors can recommend (vote) your content and thus help boost your SERP rank.

Learn More About the Google +1 Button [Watch Video]

16 Comments

Add a Comment

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

seventeen − ten =

CommentLuv badge