Persistent "Cookie preferences" floating button
Adds an always-available control so visitors can reopen preferences and withdraw consent on any page — the standard expected by GDPR (Art. 7(3): withdrawal must be as easy as giving consent) and CPRA (always-available opt-out). Previously this required manually placing the [m_cookie_preferences] shortcode in each site's footer.
What's new
- Floating button, on by default — appears site-wide with no per-site setup. Zero-touch on update.
- 🍪 icon pill with label, collapses to icon-only on mobile. Accessible:
aria-label, visible focus ring, honors reduced-motion. - Admin controls (Settings → LMG Consent): enable/disable, position — bottom right / left / center, and custom label.
- Never overlaps the banner — it stays hidden while the first-visit banner is on screen, appears once a decision is made, and shows immediately for returning visitors.
Notes
- The
[m_cookie_preferences]/[lmg_cookie_preferences]shortcode still works for an optional additional in-content link. - On a site with a bottom-right chat widget, switch the button to bottom-left/center in settings.
- No back-compat changes.