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.

Peanut Butter Bar (smooth version)


A Peanut Butter Bar is all of the good stuff that sticks to the roof of your site.

The plugin allows you to attach sticky bars to the roof of your site that stays visible no matter how far a user scrolls.

  • Track clicks using Google Analytics Events using the Analytics you already use in your blog.
  • Plugin runs within your WordPress install. No external servers to deal with.
  • Close button state persists through a user’s session without cookies.
  • Responsive and mobile friendly.
  • Choose from a range of tasty colors.

This is the Smooth version of Peanut Butter Bar. It supports a single site-wide bar. The Crunchy (paid) version has more bits including multiple bars and attaching bars to specific posts/pages and categories. Learn more at

Check out this blog post for the supported filters and actions in PBB Smooth.

Readme Generator

This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.

عکس‌های صفحه

  • The edit screen for a bar.

  • A Peanut Butter Bar in action.


Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.


3 سپتامبر 2016
I tried a bunch of notification bars and this was my favorite. The problem is, all of the bars I tried worked on my desktop but not via mobile. I decided to contact the developer and he was quick to reply. Turns out it was likely a caching issue (probably cloudflare) and simply took a couple hours for the changes to refresh. Now the bar works flawlessly, looks super clean, and I couldn't for more. But if I did, it's in the CRUNCHY version. So if you need more than this, check out the paid version. Also, check out the story behind this plugin. It's a nice touch. Great developer.
3 سپتامبر 2016 2 replies
Just installed and thus far it's working great. I looked at several and tried one other but I use WooCommerce couldn't get the one I tried to work sidewide so it was not working in my shopping cart. This plugin works sidewide. It's simple but it works and it's responsive, which some were not strangely enough. It does include their logo on the left, but at this point I don't care! Thanks!
خواندن تمامی 9 بررسی‌

توسعه دهندگان و همکاران

“Peanut Butter Bar (smooth version)” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Peanut Butter Bar (smooth version)” به زبان شما.

علاقه‌ مند به توسعه هستید؟

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



  • Verify testing with 4.3
  • Fixed reloading of values after validation error


  • XSS Security fix : add_query_arg escaping
  • Enhancement : Added cache clearing for TotalCache and SuperCache when saving a bar change.


  • Enhancement : Added pbb_filter_bar_output filter. See
  • Enhancement : Bar text now accepts and runs shortcodes.


  • Bugfix : Unknown variable when building bar. (Thanks to kdot for finding this.)


  • Fixed a bug where for some users, the update file could not be found.


  • Fixed a bug when apostrophes were used in text fields


  • Added checkbox to allow for hiding of bar without deactivating the plugin
  • Added new capability ‘manage_pbb’ and added to Admin, Super Admin and Editor roles
  • Permissions change: Editor roles can now create and manage bars
  • Linktext and Link URL may be left blank to create a pure “notification bar” without a link.
  • Changed labeling of boxes for clarity
  • Added Link CSS Class option to add a class to the bar span tag


  • Improved Smooth->Crunchy upgrade path
  • Changed internal class name to prevent conflicts


  • Credit link can now be deactivated.
  • Link in bar now explicitly sets no border to deal with some theme compatibility issues


  • Fixed links in info page


  • Initial checkin