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
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! ->
- 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.
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".
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.
- Adding announcement about partnership and upcoming updates
- Much, much needed update; lots of compatibility fixes
- Support for updated WordPress get_results function, thanks to e3mobile for the fix
- Fixed edit link (refresh after editing to view changes)
- Disabled sharebar-admin.php file outside of WordPress
- Fixed security vulnerabilities (XSS and SQL injects)
- 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
- Added ability to change color of vertical widget from admin panel
- Added ShareThis buttons
- Changed Facebook Share to Facebook Likes
- Added ability to disable or enable on any page or post
- Fixed few minor issues
- Added a host of new buttons
- Added ability to enable/disable buttons and mass delete buttons
- Added support info
- 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
- Moved Sharebar JS function to header (from footer) since some themes are miss wp_footer hook
- Fixed E-mail link and added option to show Sharebar credit
- Fixed XAMPP and PHP compatibility issue (was caused by PHP short tag, changed now to full)
- You can now add Sharebar to posts or pages in the settings
- Fixed the_content so returns content properly
- Added screenshots, updated readme file