WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Floating Social Bar

Floating Social Bar is the best social media plugin for WordPress that adds a floating share bar to your content.

Is there a template tag for the plugin?

Yes, in fact there is both a template tag and a shortcode available for use.

Template Tag: 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:

  • facebook
  • twitter
  • google
  • linkedin
  • pinterest

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 ) );

Shortcode: [fsb-social-bar]

The shortcode takes the same parameters as the template with the following syntax:

[fsb-social-bar facebook="true" twitter="true"]

Why is the button count 0?

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.

How can I make the social bar static when using the shortcode or template tag?

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).

How can I disable Socialite when using the shortcode or template tag?

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.

Can I hide the social bar on specific posts or pages?

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.

Why is the share bar not floating?

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: 3.6.1
Last Updated: 2014-5-2
Downloads: 82,004

Ratings

4 stars
4.4 out of 5 stars

Support

0 of 11 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
1 person says it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 0,1,0
100,4,4 100,1,1 83,6,5 100,3,3 100,2,2 100,3,3 100,5,5 100,3,3 100,2,2 100,6,6
100,1,1 100,1,1 100,6,6 100,5,5
100,1,1
100,1,1
80,5,4
60,5,3
80,5,4
100,1,1
100,1,1
50,2,1