wpden_tutorial

Adding a Google Plus Button to WordPress

Google+ is a not only a great social network, but its a great way to advance your social sharing objectives for your website. When someone shares your site or your post using the “+1″ button, it not only shares the link, but it will continue to “share” the link on Google search results. Many times this alone will assist in the decision making process of whether someone clicks on a search result or not.

And while there are plugins that you can use that will auto-insert the Google Plus icon on your site… why waste the overhead of a plugin if you can accomplish the same thing with a single line of code. That’s right, I’m going to show you how to easily add the Google Plus icon/button to your site/post.

All you have to do is add this single line of code into the header section of your website.

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

If you are using the Builder theme, you can accomplish this in the Settings page of Builder by placing the code like so…

The next step is simple. Whenever you want a Google+ button to appear, you place the following HTML tag in that location.

<g:plusone></g:plusone>

So now you have a very simple way of utilizing the Google Plus social sharing capabilities.

This is how it will appear on your site: