Delayed loading of Google +1, Twitter and Facebook social buttons on your posts. Have your cake and eat it too; social buttons and performance.
If you have any questions, we'd love to hear from you. Please visit and leave your question here http://inside.godaddy.com/onhover-activated-social-buttons/
To turn on lazy social buttons in the excerpt, navigate to Settings->Lazy Social Buttons and toggle the "Excerpt" option from Manual to Above or Below.
The Excerpt option is defaulted to Manual because it reportedly causes problems with certain CPTs. It was suggested that "Perhaps it would be useful for option to be added to select which CPTs will display the buttons and/or whether excerpts (or excerpts within widgets) will display the buttons." This is a good suggestion, and will be considered for future release. Release 1.0.7 is a hot fix to remedy the eminent problem by making the_excerpt an option.
If you want to add buttons to your template, say to make the buttons show up in your header, you can simply add the marked up DIV tag where you want it to go. For example:
<div class="lazysocialbuttons" data-float="left" data-buttons="google,twitter,facebook" data-twshareurl="http://www.yourdomain.tld/" data-twtext="Check out my site" data-shareurl="http://www.yourdomain.tld/" data-fbhideflyout="false" data-backgroundtype="light"></div>
Visit https://github.com/godaddy/lazy-social-buttons for a full list of the text decoration options.
There is a position option of Manual in the plugin, as of 1.0.5, which will make the social buttons not appear automatically above or below your posts. You don't need to select Manual to place the marked up DIV in your template.
Yes, please visit http://inside.godaddy.com/onhover-activated-social-buttons/ and https://github.com/godaddy/lazy-social-buttons/ for detail and source code.
Loading jquery from Google's CDN will boost performance because the likelihood of visitors already having it in browser cache is high. It also puts this common JS file on a CDN closer to the end user, which means it'll download faster.
The jquery CDN option is by default off, because it may cause problems with certain themes and other plugins that require a different version of jquery. I'd suggest that you turn this jquery CDN feature on and then test your site. If it breaks your site, turn it off.
The animated gif was made to display on a white background. If you are using a dark background, change the Lazy Social Buttons Background Type to dark in Settings/Lazy Social Buttons.
Requires: 3.4 or higher
Compatible up to: 3.4.2
Last Updated: 3 years ago
Active Installs: 1,000+
Got something to say? Need help?