WPSocialite
No one likes long load times, but we all want to be able to share our content via Facebook, Twitter, and other social networks. These take a long time to load. Paradox? Not anymore! With WPSocialite (utilizing David Bushell’s amazing SocialiteJS plugin [http://www.socialitejs.com/]) we can manage th
No one likes long load times, but we all want to be able to share our content via Facebook, Twitter, and other social networks. These take a long time to load. Paradox? Not anymore! With WPSocialite (utilizing David Bushell’s amazing SocialiteJS plugin [http://www.socialitejs.com/]) we can manage the loading process of our social sharing links. Load them on hover, on page scroll, and more!
Template Tag
<?php $args = array( 'size' => 'large', //choose which size buttons to display. 'url' => 'http://google.com', //use this to override the url that is sent to WPSocialite. Not recommended to use in loop. 'button_override' => 'facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon' //used to override buttons that are displayed. Add and remove as needed. ); wpsocialite_markup( $args ); ?>
Shortcode
[wpsocialite size="small" url="http://google.com" button_override="facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon"]
Screenshots & previews.
- 01Download the wpsocialite folder and upload it to {your-wp-directory}/wp-content/plugins folder.
- 02Visit Your-website.com/wp-admin/plugins.php and activate WPSocialite.
- 03Head to Settings->Discussion and scroll to “WPSocialite” settings to configure the plugin.
Thats it!
Frequently asked questions.
So what does this do?
WPSocialite uses socialite.js and implements it into the WordPress workflow, adding it automatically (or manually, if you choose) to your content.
Socialite.js allows us to define when we would like to load our social sharing links. For example, if we have a page with ten posts, each with their own set of Facebook Like, Google+ Share, and Twitter Share links, they could take some time to load. Using WPSocialite, you can load those individually when the user scrolls or hovers over a specific post.