Floating Social Bar is the best social media plugin for WordPress that adds a floating share bar to your content.
Yes, in fact there is both a template tag and a shortcode available for use.
floating_social_bar( $args = array(), $return = false )
In the template tag, you can pass in an array of arguments to denote which social services you want displayed. The order in which the services are entered will be the order in which they are displayed. The following keys are available for use:
For example, if you want to use the template tag to add in facebook and twitter services, you would do the following:
if ( function_exists( 'floating_social_bar' ) ) floating_social_bar( array( 'facebook' => true, 'twitter' => true ) );
The shortcode takes the same parameters as the template with the following syntax:
[fsb-social-bar facebook="true" twitter="true"]
To maximize the performance, we get the social media count from each API and store it in a cache for 30 minutes. It only gets the count for the post when its loaded to reduce server load. For example, if no one visits your two year old post, then this plugin will not waste your precious server resources for that post. It only gets the count right when a user visits the post or page.
We have tested and noticed that this small delay have no impact in the number of shares you get. However, there is an option in the plugin setting’s page that allows you to change the minimum interval if you want to get faster updates. But remember, it will increase server load.
Easy. Just add
static="true" to the shortcode or
'static' => true to the template tag inside your array of arguments to make the social bar static (non-floating).
Again, easy. Just add
socialite="false" to the shortcode or
'socialite' => false to the template tag inside your array of arguments to prevent Socialite from running.
Yes you can hide the floating social bar on specific posts or pages. All you have to do is go on your post’s edit screen where you will find a metabox to hide the social share bar.
If you can see the share bar on your site, but it is not floating then 99% of the time it is a conflict with another plugin or your theme.
Requires: 3.4.1 or higher
Compatible up to: 4.1.13
Last Updated: 1 year ago
Active Installs: 20,000+
Got something to say? Need help?