Mô tả
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.
Cài đặt
- 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.
Hỏi đáp
-
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.
-
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 awp_footerfallback) and is independent of any page builder.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“WPShibhu Sticky Bar – Notification bar, Popup Message & Coupon popup” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “WPShibhu Sticky Bar – Notification bar, Popup Message & Coupon popup” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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.