Title: Peanut Butter Bar (smooth version)
Author: andrewcouch
Published: <strong>11 Γuct 2014</strong>
Last modified: 4 Ibrir 2016

---

Search plugins

![](https://ps.w.org/peanut-butter-bar-smooth-version/assets/banner-772x250.png?
rev=963588)

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.

![](https://ps.w.org/peanut-butter-bar-smooth-version/assets/icon-128x128.png?rev
=993822)

# Peanut Butter Bar (smooth version)

 By [andrewcouch](https://profiles.wordpress.org/andrewcouch/)

[Download](https://downloads.wordpress.org/plugin/peanut-butter-bar-smooth-version.zip)

 * [Details](https://kab.wordpress.org/plugins/peanut-butter-bar-smooth-version/#description)
 * [Reviews](https://kab.wordpress.org/plugins/peanut-butter-bar-smooth-version/#reviews)
 *  [Installation](https://kab.wordpress.org/plugins/peanut-butter-bar-smooth-version/#installation)
 * [Development](https://kab.wordpress.org/plugins/peanut-butter-bar-smooth-version/#developers)

 [Support](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/)

## Description

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 [peanutbutterplugin.com](http://peanutbutterplugin.com).

Check out this [blog post](http://peanutbutterplugin.com/help-topics/filters-and-hooks-in-pbb-smooth/)
for the supported filters and actions in PBB Smooth.

### Readme Generator

This Readme file was generated using [wp-readme](http://sudarmuthu.com/wordpress/wp-readme),
which generates readme files for WordPress Plugins.

## Screenshots

[⌊The edit screen for a bar.⌉⌊The edit screen for a bar.⌉[

The edit screen for a bar.

[⌊A Peanut Butter Bar in action.⌉⌊A Peanut Butter Bar in action.⌉[

A Peanut Butter Bar in action.

## Installation

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.

## Reviews

![](https://secure.gravatar.com/avatar/52bf25ed83c6fc05c7818717a8ad96acf852b5cf47d2ada84d685cb8f6b0a71d?
s=60&d=retro&r=g)

### 󠀁[Truly excellent plugin and developer](https://wordpress.org/support/topic/truly-excellent-plugin-and-developer/)󠁿

 [zerodean](https://profiles.wordpress.org/zerodean/) 3 Ctember 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.

![](https://secure.gravatar.com/avatar/34a0e8568fbcde02dca51a8b3b4af04cfd05bba7fcfd1bb40f939a9568a33630?
s=60&d=retro&r=g)

### 󠀁[Finally one that works!](https://wordpress.org/support/topic/finally-one-that-works-10/)󠁿

 [kimpahl1111](https://profiles.wordpress.org/kimpahl1111/) 3 Ctember 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!

![](https://secure.gravatar.com/avatar/be0bb55908855f1d73f7900cf01122f1ae2769c8c88713a7efba57d02115548b?
s=60&d=retro&r=g)

### 󠀁[Increased site sale with this plugin](https://wordpress.org/support/topic/increased-site-sale-with-this-plugin/)󠁿

 [getonlinevotes](https://profiles.wordpress.org/getonlinevotes/) 8 Furar 2017

I downloaded this plugin to draw attention to our paid services. I was so happy 
with it that I bought the paid version and made my money back in the first day.

 [ Read all 9 reviews ](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/)

## Contributors & Developers

“Peanut Butter Bar (smooth version)” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ andrewcouch ](https://profiles.wordpress.org/andrewcouch/)

[Translate “Peanut Butter Bar (smooth version)” into your language.](https://translate.wordpress.org/projects/wp-plugins/peanut-butter-bar-smooth-version)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/peanut-butter-bar-smooth-version/),
check out the [SVN repository](https://plugins.svn.wordpress.org/peanut-butter-bar-smooth-version/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/peanut-butter-bar-smooth-version/)
by [RSS](https://plugins.trac.wordpress.org/log/peanut-butter-bar-smooth-version/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.2

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

#### 1.2.1

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

#### 1.2.0

 * Enhancement : Added pbb_filter_bar_output filter. See http://peanutbutterplugin.
   com/help-topics/filters-and-hooks-in-pbb-smooth/
 * Enhancement : Bar text now accepts and runs shortcodes.

#### 1.1.3

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

#### 1.1.2

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

#### 1.1.1

 * Fixed a bug when apostrophes were used in text fields

#### 1.1.0

 * 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

#### 1.0.3

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

#### 1.0.2

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

#### 1.0.1

 * Fixed links in info page

#### 1.0

 * Initial checkin

## Meta

 *  Version **1.2.1**
 *  Last updated **11 n iseggasen ago**
 *  Active installations **100+**
 *  WordPress version ** 3.8 or higher **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/peanut-butter-bar-smooth-version/)
 * Tags
 * [alert bar](https://kab.wordpress.org/plugins/tags/alert-bar/)[fixed bar](https://kab.wordpress.org/plugins/tags/fixed-bar/)
   [responsive bar](https://kab.wordpress.org/plugins/tags/responsive-bar/)[sticky bar](https://kab.wordpress.org/plugins/tags/sticky-bar/)
   [sticky bar bottom](https://kab.wordpress.org/plugins/tags/sticky-bar-bottom/)
 *  [Advanced View](https://kab.wordpress.org/plugins/peanut-butter-bar-smooth-version/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/reviews/)

## Contributors

 *   [ andrewcouch ](https://profiles.wordpress.org/andrewcouch/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/peanut-butter-bar-smooth-version/)