This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Sharebar

Description

To get advanced Share options, go here!

Sharebar adds a dynamic and fully customizable vertical box to the left of a blog post that contains links/buttons to popular social networking sites. For wide blogs, a vertical bar with popular sharing icons appears on the left of your post. If the page is resized below 1000px (default), the vertical bar disappears and a horizontal sharebar appears under the post title.

Big Buttons are used in the vertical Sharebar to the left of the post, while the Small Buttons are used in the horizontal Sharebar that appears under the post title (by default) if the width of the page is less than 1000px (or whatever value you set).

Social sharing buttons

  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Stumbleupon
  • Reddit

When Auto mode (enabled in settings) is ON, the Sharebars are added automatically. When Auto mode is off, you must manually add the sharebar code to your template files:

  • Vertical (next to post) Sharebar: <?php sharebar(); ?>
  • Horizontal Sharebar: <?php sharebar_horizontal(); ?>

You can also call an individual button in any template by using the following code (where size is either big or small): <?php sharebar_button('name','size'); ?>

Also, if you use and like the plugin, please rate it! ->

Screenshots

  • The plugin in action (vertical bar). If page is resized to less than 1000px, a vertical share bar appears under title.
  • Main Plugin Page
  • Plugin Settings Page
  • Edit button page

Installation

Upload the Sharebar plugin to your plugins directory, activate it and it should work out of the box. Then tweak the buttons and settings to your likings!

FAQ

Why doesn’t the vertical sharebar (next to post) work?

First, make sure the plugin is properly installed and if you’re using manual mode, the sharebar code has been added to your single.php template. If you’re using auto mode, verify that the sharebar list is being added to your post in the source code (look for <ul class='sharebar'>). If it’s not in the source, there is a problem with the plugin settings or implementation. If it is there, chances are the error is CSS-based – make sure the parent container element of the post (or the post element itself) does not have the overflow:hidden; CSS property applied to it, as it may sometimes render the sharebar invisible.

How do I get the sharebar to appear to the right of my blog?

Play with the Right Offset in the settings page of the plugin – this should include the total width of your sidebar or whatever elements are between your post and the right most edge of your blog.

Reviews

January 23, 2017
Hi, I've been using sharebar for long time so far. I'd like to know if you can consider to use the WordPress enqueue features in order to enqueue the required CSS styles, or a filter. So far, I noticed the CSS is inserted using an echo (see here: http://take.ms/s2niu ). It will be great if you can use wp_enqueue_style instead. Why I am asking about this? Because in my case I am trying to do some optimizations and minification of the css/js files and your styles are being added with media="screen". Thank you, Julian
September 3, 2016
I am using this with sharethis buttons (over 5 years) and it works really well. All major social media share buttons including: facebook, pinterest, g+, twitter, etc. By default the social media buttons included with this plugin don't seem to work, except the facebook like button. I am assuming this is why there are a lot of negative reviews, however, if you use this with sharethis it works great, at least on my theme it did. There will be some finagling to get it just right on your theme most likely, but with a little css styling you can really get this working and looking good.
Read all 26 reviews

Contributors & Developers

“Sharebar” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Sharebar” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.1

  • Use enqueue_scripts for frontend CSS.
  • Fix JS error on some pages.

1.3.1

  • Adding announcement about partnership and upcoming updates

1.3

  • Much, much needed update; lots of compatibility fixes

1.2.5

  • Support for updated WordPress get_results function, thanks to e3mobile for the fix

1.2.4

  • Fixed edit link (refresh after editing to view changes)

1.2.3

  • Disabled sharebar-admin.php file outside of WordPress

1.2.2

  • Fixed security vulnerabilities (XSS and SQL injects)

1.2.1

  • Fixed Facebook Like button to show default post URL (and not example.com – doh!)
  • Added default minwidth setting so Sharebar should appear for everyone when they update and not spaz out

1.2

  • Added ability to change color of vertical widget from admin panel
  • Added ShareThis buttons
  • Changed Facebook Share to Facebook Likes

1.1.3

  • Added ability to disable or enable on any page or post
  • Fixed few minor issues

1.1.2

  • Added a host of new buttons
  • Added ability to enable/disable buttons and mass delete buttons
  • Added support info

1.1.1

  • Added new Twitter button
  • Had to move Digg button to top in order to prevent the KB927917 error in IE8, please reset buttons if you’re having that issue
  • Added option to customize width of Sharebar
  • Added option to set Twitter username and use that in buttons using [twitter] code

1.1.0

  • Fixed a small mistake in the JavaScript, added a fix for Facebook button margin (thanks to frychiko)

1.0.9

  • Changed the way JavaScript loads to hopefully adapt to more themes

1.0.8

  • Moved Sharebar JS function to header (from footer) since some themes are miss wp_footer hook

1.0.7

  • Fixed E-mail link and added option to show Sharebar credit

1.0.6

  • Fixed XAMPP and PHP compatibility issue (was caused by PHP short tag, changed now to full)

1.0.4

  • You can now add Sharebar to posts or pages in the settings

1.0.1

  • Fixed the_content so returns content properly
  • Added screenshots, updated readme file