Async Social Sharing
Simple social sharing plugin that loads the third-party scripts asynchronously and after the page loads to improve site performance. The plugin provides settings to load any of the following sharing widgets: Twitter Facebook Google+ Linkedin Hacker News Available display options include ability to display the sharing widgets on above or below content on pages, specific custom post types or blog and archive pages. Why is Asynchronous script loading better? Asynchronous loading allows multiple files to load parallel to each other. Instead of having to wait for Twitter to respond with their script, the browser moves on and starts fetching the next request. Dependencies WordPress 3.5+ Content worth sharing Contributors Welcome Submit a pull request on Github Upcoming Versions Wishlist Allow re-arranging of social widgets Credits Inspired by Stoyan Stefanov’s blog post “Social Button BFFs” HackerNews button code by Ilya Grigorik Author Rachel Baker 1.8.1 Fixed bug where plugin would cause a fatal error for PHP 5.2 and under by changing class initialization process. Added minor style fix for Facebook sharing widget alignment. 1.8.0 Added async_social_display() function to be used as a template tag to output the social sharing widgets anywhere theme developers desire within the loop. Added option to allow site administrators to enter their Facebook Application ID. Added option allowing site administrators to choose if the social sharing widgets should be output before or after the content. props @dustyf Changed settings screen to use WordPress default admin styles to fix checkbox display in WordPress 3.8+. Removed bloated admin stylesheet. Minor refactoring of plugin instance loading. Minor code formatting changes. 1.7.1 Fixed bug where “headers already sent” message was displayed upon plugin activation due to blank line at top of main plugin file. Enabled automatic plugin updates for WordPress 3.7 users. 1.7.0 Added option to display or hide sharing widgets from posts. Restructured file organization. Tested compatibility with 3.7 1.6.2 Fixed bug where previous plugin users could not disable the css without removing and then re-adding the plugin. Updated compatibility to support 3.5 1.6.1 Fixed bug where widgets were not displaying on pages if option was specified. Fixed bug where CSS styles for previous installations was still loading, even though the option to disable was selected. Expanded post-type multi-selection box area on plugin options page. Added instructions for selecting multiple post types from plugin options page. Tested with WordPress 3.5 RC2 1.6 Added option to prevent default CSS stylesheet from loading. Fixed bug where PHP Exception was thrown if post types array was empty. Tested with WordPress 3.5 Beta 3 1.5.1 Fixed bug that would cause content in RSS feeds to not display. Fixed bug where PHP Exception was thrown on pages if the display options were not set. 1.5.0 Added ability to display social widgets on pages. Added ability to select which custom post types will display the social widgets. Reworked async-share.js file. Now only the external social scripts that are selected to be displayed will be loaded. Improved display styles for social widgets. 1.2.0 Combined function for plugin’s script and style loading. Fixed bug that was generating a PHP error when no options were set. Tested with WordPress 3.4.1 1.1.0 Added Display Options to plugin to allow sharing widgets to be displayed on blog and archive pages. Fixed bug with Facebook fb-root div not being detected before script loaded. Updated license to GPLv3 1.0.1 Added lazy loading to async-share.js Fixed issue with plugin settings link 1.0 Initial release
Top keywords
- added11×1.80%
- display11×1.80%
- fixed11×1.80%
- widgets11×1.80%
- bug10×1.64%
- fixed bug10×1.64%
- social10×1.64%
- sharing9×1.48%
- loading7×1.15%
- wordpress7×1.15%
- option6×0.98%
- options6×0.98%
Nobs • Share Buttons
Add smart designed buttons after/before your posts (or wherever you want) to allow visitors to share your content (includes no JavaScript mode & counters). Buttons are Retina/HDPI-ready, translation-ready and come with useful options and hooks. Totally GDPR compliant, and accessibility and performance friendly. Includes a Gutenberg block. Select your favorites social networks among a little list. Display an optional sharings counter. You’re done! You can donate to support Creating a plugin and maintaining it of the years takes time and energy. Any support is really appreciated. Donate with Paypal Buy Me a Coffee (you can even subscribe for exclusive content, like sneak peek, free license, exclusive info, etc.) Revolut me Please, use the support forum to tell me bugs encountered, and be patient, remember it’s a free product build on my spare time Social networks supported: Diigo Evernote Facebook LinkedIn Mix Pinterest Pocket Reddit Tumblr Twitter Viadeo Weibo WhatsApp VKontakte Native Share API (for mobile devices, mostly, allowing to share with your favorite applications) Future supported Networks here Other actions supported: Send by Mail (mailto: or multi-recipient lightbox form) Print (buttons are not printed 😜) Add to bookmark Plugin Options: 8 graphic templates available (reworked) Compact option for smaller icons Choose to display only the social network icon Choose from all available networks Open links in a new window (deactivated by default) Add your Twitter account name to add “via” while sharing Choose to display buttons only on certain type of post (compatible with Custom Post Type) Choose to hide buttons only on certain posts directly in the edit page (metabox). Choose to display buttons at the bottom, the top of the content, or both (or just with shortcode or template function) Customize mail texts (subject and body), or mail in a lightbox Display a sharing counter (optional) Use shortcode [juiz_sps] or [juiz_social] wherever you want Use the Gutenberg Block wherever you need. (no settings available yet for this block) For developers: A lot of hooks are available for markup customization (or add some things) A hook is available and offers you the opportunity to add the buttons you need Use template function juiz_sps() or get_juiz_sps() in your code Contribute by creating you own button Skins easily. Available Languages: Deutsch (thank to Dennis Schmitz!) English French Japanese (thank to 半月 (Hangetsu)!) Russian (thank you Fandia!) Serbian (thank to Borisa Djuraskovic!) Spanish (thank to Roberto Castiñeira!) Turkish (thanks to Hakaner!) 🏁 You can contribute to translating in your own language! Thank you for your help 💕 Full Documentation available. This tool if made on my spare time for free, so if you say “it’s broken”, please tell me why, how, what so I can help you 😊 (better than a bad rating that won’t make things better) Before adding a bad rating, please open a support ticket to solve your issue. I’m here to help. Other plugins Find my plugins at https://profiles.wordpress.org/creativejuiz/