I have finally added Google+ to my social share options on this blog. I didn’t use a plugin and manually added in the necessary code myself, including the dynamic URL readers may wish to +1. Overall I am happy with how it looks, but do wish Google would allow you to use a custom icon. The code is rather simple:
<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><div data-annotation=”none” width=”28″ height=”28″ data-href=”<?php echo get_permalink(); ?>”></div>
Nice and simple in a wordpress powered blog



