Skip to content

Instantly share code, notes, and snippets.

@LouisWhit
Created November 14, 2013 13:12
Show Gist options
  • Select an option

  • Save LouisWhit/7466530 to your computer and use it in GitHub Desktop.

Select an option

Save LouisWhit/7466530 to your computer and use it in GitHub Desktop.
Social Share: Google +
The Social Bookmarking tool may have a SQL limit to the total number of characters that it will output. This varies by version. Eventually this restriction will be removed. The summation of all checked social buttons cannot exceed X amount of characters. If the JS for the google plus button is not being rendered properly by placing it in the social bookmarking tool under the html for the button. Try added the JS in the SiteWide Tags footerscripts area instead.
<script>
(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 style="position:relative; display:inline-block;top:3px;"><g:plusone size="small" annotation="none" href="[URL]"></g:plusone></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment