| 开发者 | gatemi |
|---|---|
| 更新时间 | 2026年10月31日 11:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_kses_post() at save and at render, because an import bypasses
the editor; a javascript: destination never becomes a link; and a colour is
validated as a colour rather than pasted into a style attribute.
The full edition
Gatemi Announcement Bar for WooCommerce
is a separate plugin, sold on gatemi.com, that adds as many bars as you like
and shows each one only where it belongs: on chosen pages or everywhere
except the checkout, by what is in the cart (its value, its categories, or
nothing at all), by the visitor's role, or before a cutoff time for shipping
deadlines. It also adds a bar at the foot of the page and one that stays put
as they scroll.
Both editions store their bars the same way, so upgrading keeps everything —
and anything the full edition wrote is kept here untouched, ready to be
picked straight back up. This edition edits the first bar and shows one: the
first that is switched on, inside its dates and carries none of the full
edition's targeting. A bar that carries targeting is not shown here at all,
because this edition cannot judge it and guessing could show it to somebody
the merchant excluded.
Yes. The bar's markup is the same for every visitor, and a dismissal is read from a cookie in the browser, so a cached page is always correct.
No. It makes no HTTP request of any kind.
This edition stands down completely and says so on the plugins screen. The two share their storage, so nothing is lost in either direction.