add google plus button to wordpress without plugin

Many people asking me how to add the google plugin button in wordpress without plugin. WordPress tutorial for, add google plus button to wordpress without plugin. You can easily add the google plus button counter to your wordpress website.

add google plus button to wordpress without plugin

I added the google button code to digcms.com site.

You just need to add the following code to site.


<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall"></g:plusone>

<!-- Place this render call where appropriate -->
<script type="text/javascript">
 (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>

For getting the different style of google plus button you can go to following site.

http://www.google.com/webmasters/+1/button/

add google plus button to wordpress without plugin
add google plus button to wordpress without plugin