Peanut Butter Bar (smooth version)

April 04, 2016

Peanut Butter Bar (smooth version) Plugin

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

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.

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.

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.

Screenshots

  1. <p>The edit screen for a bar.</p>

    The edit screen for a bar.

  2. <p>A Peanut Butter Bar in action.</p>

    A Peanut Butter Bar in action.

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

Details

  • Version: 1.2.1
  • Active installations: 200
  • WordPress Version: 3.8
  • Tested up to: 4.5.32

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars