Add the New Google+ Share Button Using the Tweet, Like, Google +1 and Share WordPress Plugin

If you’re using the “Tweet, Like, Google +1 and Share” plugin for WordPress (I love it) and can’t wait to add the new “Google+ Share” button until it gets integrated into the plugin just follow the following 5 steps:

  1. Get the Google+ Share button Code (also below)
  2. Login To Your WordPress install and navigate to Settings > Tweet Like PlusOne (<– get the plugin if you don’t have it)
  3. Check box #6 to “Display Custom Buttons”
  4. Drop the Google+ Share button code into your custom button box at the bottom of the plugin settings screen
  5. Save!

Here’s the code:

1
2
3
4
5
<div class="g-plus" data-action="share"></div>
<!-- Place this tag after the last share tag. -->
<script type="text/javascript">// <![CDATA[
    (function() {     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;     po.src = 'https://apis.google.com/js/plusone.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);   })();
// ]]></script>

About Scott Ellis

Join me on Google+

Scott Ellis: is the founder of VSELLIS.com. Scott is also a web producer for geekbeat.tv, and the VP of Marketing for o2o interactive. You can find Scott anywhere online by looking for “vsellis” or chat with him on twitter @vsellis.

Comments

  1. I added the code and it did not format properly. It showed below the other buttons and into my page title. I tried it with and without other code and got the same result. I would like to have it on the site.

    • Steve,

      Try going to the google+ share button page and customizing the button a little. You might want to change or remove the annotation, change the width (minimum 120px), etc.. see if that helps.

      I had to modify it to make it work here and on GeekBeat.TV to avoid the same issues.

      Couple other things, it could be the container for your buttons doesn’t have enough width (would be adjusted in your css) particularly since you already have 5 buttons in there. See if any of that helps and let us know.

Speak Your Mind

*