Linux 软件免费装
Banner图

Notice Bar Block – Sticky Announcement Banner & Notification Bar

开发者 wpbranddigital25
更新时间 2026年10月25日 14:58
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

notification bar banner announcement bar sticky bar notice bar

下载

1.0.1 1.0.2

详情介绍:

Notice Bar Block is a fast, lightweight, and modern WordPress block designed to display high-converting sticky notice bars, top notification banners, announcement bars, sales countdown timers, coupon code badges, and call-to-actions directly in the WordPress Block Editor (Gutenberg). Whether you want to highlight a limited-time flash sale, promote a coupon code, announce free shipping, or notify visitors of urgent maintenance, Notice Bar Block gives you full visual design control inside the block editor—with zero settings pages, zero shortcodes, and zero bloated third-party libraries. Why Notice Bar Block? Features Lightweight & Fast by Design Accessible (a11y)

安装:

  1. Upload the noticebar-sticky-banner-block folder to /wp-content/plugins/, or install directly via Plugins → Add New in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. Open any post, page, or template in the WordPress Block Editor, click the block inserter (+), and search for Notice Bar (or Sticky Bar).
  4. Choose one of the 11 ready-made presets or customize your bar visually from the block settings sidebar.

升级注意事项:

1.0.2 Recommended update: adds live countdown timer, click-to-copy coupon badge, push page content down feature, display triggers, and 11 new starter presets. 1.0.1 Updated release with revised plugin slug and naming.

常见问题:

Where can I add the Notice Bar block?

You can add Notice Bar to any individual page or post. If you use a Block Theme (Full Site Editing), you can add the Notice Bar block to your Header or Footer template part (Appearance → Editor) to display it across your entire website.

Will the notice bar cover my website logo or header menu?

No! Simply enable the Push page content down option in the block settings. It dynamically measures the height of your notice bar and offsets your site content and sticky headers so everything remains completely visible.

Does Notice Bar Block slow down my website?

Not at all. The plugin is built with modern WordPress Block standards. It has zero jQuery, zero dependencies, and loads an ultra-light (~1 KB) script only on pages where a notice bar is present. It does not affect Core Web Vitals or page load speed.

How does the countdown timer work?

Select the Countdown Timer option in the block sidebar, pick your target end date and time, and customize the label. The timer updates live in seconds on the frontend and switches to an expired message once the target time is reached.

How does the Click-to-Copy coupon badge work?

When enabled, visitors see a distinct coupon badge (e.g., SAVE20). Clicking the badge instantly copies the discount code to their clipboard and displays a visual "Copied!" notification.

How does dismiss memory work?

When visitors click the close button, you can choose to remember the dismissal for their browser session (until the tab closes) or on their device (using local storage). If you update the notice bar text in the editor, the bar automatically re-appears for all visitors.

更新日志:

1.0.2 1.0.1 1.0.0