How to add Google +1 button in your wordpress site

admin | June 13, 2011 | 0 Comments

Here is the step by step guide to add Google +1  button into your wordpress site.. To add Google +1 button, you need to add a code into your head tag and another code to the place where you want to display Google like button.

1.       The first step is to add Google API call code which you can grab from official site.

Copy the code : <script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script>

2.      Login to your WordPress dashboard and click on the “Appearance ” tab , click on  editor in the Appearance tab.

  1. After that , click on the ”header.php ”  on the left side lists, it will open the “header,php” in your editor window. Then , find the <head> tag.
  2. Place the copied code below head before closing body tag.
  3. Now , click on the ”single.php ”  on the left side lists, it will open the “single,php” in your editor window.
  4. Paste the below code where you want the +1 button to render

<div style=”display:block;float:right;margin: 0px 10px 0px 0px;”>

<g:plusone></g:plusone>

</div>

Do Let me knowif you have added Google +1 button in your site or not?

Did you like this? Share it:

Tags: , , , , ,

Category: Blog Design

You might also like

Do you Know How to Access Gmail Offline? (Video)
3 Simple Steps To Block Low Paying Ads
Top 5 tips to get more traffic to your blog or website by Google Images
3 Great Stat Plugins For WordPress
10 Google SEO Tricks You Should Avoid

Comments (0)

Trackback URL | Comments RSS Feed

There are no comments yet. Why not be the first to speak your mind.

Leave a Reply

*
GetSocial