FAQ
Does it require WooCommerce?
Section titled “Does it require WooCommerce?”Yes.
Where does the bar appear?
Section titled “Where does the bar appear?”At the very top of every front-end page, via the theme’s wp_body_open hook. Most modern themes support it.
Can I format the message?
Section titled “Can I format the message?”Yes, with a small safe-HTML allow-list: bold, italic, links and line breaks. Anything outside the allow-list is stripped.
Can shoppers close the bar?
Section titled “Can shoppers close the bar?”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).
What happens when I change the message?
Section titled “What happens when I change the message?”Editing the message text re-shows the bar to everyone automatically, so a new announcement is never hidden behind an old dismissal.
Can I schedule a promotion?
Section titled “Can I schedule a promotion?”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.
Can I match my brand colours?
Section titled “Can I match my brand colours?”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.
Does it slow down my store?
Section titled “Does it slow down my store?”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.
Is it accessible?
Section titled “Is it accessible?”Yes. The bar is an ARIA region with a keyboard-operable close button, focus-visible styles and prefers-reduced-motion support.