WPShibhu Sticky Bar – Notification bar, Popup Message & Coupon popup

چۈشەندۈرۈش

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-motion support.
  • Lightweight — No jQuery dependency on the frontend; vanilla JS only.
  • Security-first — WP nonces, capability checks, full input sanitisation and output escaping throughout.

ئورنىتىش

  1. Upload the shibhu-sticky-bar folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Sticky Bar in the admin sidebar.
  4. Configure your bar and click Save Settings.
  5. Toggle the Live switch to make the bar visible to visitors.

FAQ

Can I have more than one sticky bar?

The plugin is intentionally designed for one focused notification bar. Multiple bars can fragment visitor attention.

Will the bar cover my content?

When the sticky option is enabled the plugin automatically adds body padding equal to the bar height so no content is obscured.

Does the close button stay dismissed after refresh?

Dismissal is stored in sessionStorage, so it persists for the browser session (until the tab or browser is closed).

Is it compatible with page builders?

Yes. The bar is injected via wp_body_open (with a wp_footer fallback) and is independent of any page builder.

باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

تۆھپىكار ۋە ئىجادكار

«WPShibhu Sticky Bar – Notification bar, Popup Message & Coupon popup» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

ئۆزگىرىش خاتىرىسى

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.