Skip to content

FAQ

Yes.

At the very top of every front-end page, via the theme’s wp_body_open hook. Most modern themes support it.

Yes, with a small safe-HTML allow-list: bold, italic, links and line breaks. Anything outside the allow-list is stripped.

Yes, when Dismissible is on. The choice is stored in the visitor’s browser using localStorage — no cookies and no personal data. You can set how many days the dismissal lasts (0 = forever).

Editing the message text re-shows the bar to everyone automatically, so a new announcement is never hidden behind an old dismissal.

Yes. Enable the schedule and set a start and/or end time in your site’s timezone. Leave either blank for an open-ended window. Outside the window the bar does not render.

Sticky or static — what is the difference?

Section titled “Sticky or static — what is the difference?”

Sticky keeps the bar pinned to the top as the shopper scrolls; static lets it scroll away with the page.

Yes. Set the background, text and accent colours with a live preview; the colours are CSS custom properties and the bar is dark-mode aware.

No. The CSS and dismissal script are only enqueued when the bar is actually active, and the markup is plain HTML. There is no front-end JavaScript framework, and no layout shift beyond the bar’s own height.

Yes. The bar is an ARIA region with a keyboard-operable close button, focus-visible styles and prefers-reduced-motion support.