Skip to content

Notice

Notice adds a clean, fast announcement bar to the top of your WooCommerce store. Use it to promote a sale, a free-shipping threshold, a shipping cut-off or any store-wide message — with an optional call-to-action button, your own colours and an optional start/end schedule.

The bar is rendered server-side at the top of the page and ships a tiny, dependency-free stylesheet. Nothing loads on the front end unless the bar is actually active, so disabled or out-of-schedule states add zero weight. The free edition is the full GPL product.

  • Single store-wide bar at the top of every page.
  • Message with a small safe-HTML allow-list — bold, italic, links and line breaks.
  • CTA button — optional call-to-action with its own URL and a new-tab option.
  • Custom colours — background, text and accent, with a live preview.
  • Placement — sticky (pinned) or static (scrolls away).
  • Schedule — optionally show the bar only between a start and end date/time.
  • Dismissible — the choice is remembered in the browser via localStorage (no cookies, no personal data).
  • Auto re-show — changing the message text re-shows the bar to everyone automatically.
  • Accessible — ARIA region, keyboard-operable close button, focus-visible styles and reduced-motion support.

The bar appears at the very top of every front-end page via the theme’s wp_body_open hook (most modern themes support it). The CSS and dismissal script are only enqueued when the bar is active, and the markup is plain HTML — there is no front-end JavaScript framework. When dismissible is on, the dismissal lasts for a configurable number of days (0 = forever), and editing the message re-shows the bar to everyone.

  • Free on WordPress.org — one store-wide bar with message, CTA, colours, placement, optional schedule and dismissal.
  • Pro (planned) for multiple bars, targeting rules and analytics.
  • Getting started — install, write your message, set colours and an optional schedule.