WPShibhu Sticky Bar – Notification bar, Popup Message & Coupon popup
WPShibhu Sticky Bar – Notification bar, Popup Message & Coupon popup
Description
Shibhu Sticky Bar lets you add a beautiful, fully customisable sticky notification bar to the top or bottom of your website — directly from the WordPress admin area.
Features
- One bar, full control — Manage a single focused notification bar to keep your messaging clear.
- Rich content — Add text with basic HTML (links, bold, italic) and an optional CTA button.
- Page-level targeting — Show the bar on all pages, only specific pages/posts, or exclude certain pages.
- Visual customisation — Background colour, text colour, link colour, close-button colour, CTA button colours, border accent, height, padding, font size, font weight, letter spacing.
- Behaviour options — Position (top/bottom), sticky on scroll, slide-in animation, show/hide close button.
- Dismiss remembers — Close button dismissal is remembered per browser session.
- Accessible — Proper ARIA roles, keyboard-focusable close button,
prefers-reduced-motionsupport. - Lightweight — No jQuery dependency on the frontend; vanilla JS only.
- Security-first — WP nonces, capability checks, full input sanitisation and output escaping throughout.
Installation
- Upload the
shibhu-sticky-barfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Go to Sticky Bar in the admin sidebar.
- Configure your bar and click Save Settings.
- Toggle the Live switch to make the bar visible to visitors.
Faq
The plugin is intentionally designed for one focused notification bar. Multiple bars can fragment visitor attention.
When the sticky option is enabled the plugin automatically adds body padding equal to the bar height so no content is obscured.
Dismissal is stored in sessionStorage, so it persists for the browser session (until the tab or browser is closed).
Yes. The bar is injected via wp_body_open (with a wp_footer fallback) and is independent of any page builder.
Reviews
Changelog
1.0.1
- Removed placeholder Plugin URI and Author URI.
- Removed manual load_plugin_textdomain() call (translations are now loaded automatically by WordPress.org).
- Hardened output escaping and variable naming in the admin views for Plugin Check compliance.
- Added missing nonce-verification annotations for already-verified AJAX requests.
- Updated “Tested up to” to the current WordPress version.
1.0.0
- Initial release.