Releases: nopphanb/npbn-cookie-consent
Releases · nopphanb/npbn-cookie-consent
Release list
v1.6.1
v1.6.0
What's New
- Use Theme Colors — new option to auto-detect background, text, and accent colors from your active theme (block themes via
theme.json+ classic theme Customizer fallback) - WPML & Polylang support —
wpml-config.xmlincluded for string translation, runtime language detection - Admin toggle switches — all checkboxes replaced with iOS-style toggles
- Cookie icon — SVG cookie icon for admin menu, page header, and floating button
- Floating button fix — resolved click/hover issue caused by hidden banner z-index overlap
- Cookie Scanner — scan your site to detect cookies and third-party scripts
- Consent Log — view consent records with category badges and stats
Improvements
- Tabbed admin settings UI with cards and live preview
- Backdrop blur and full-width banner options
- Better multi-language defaults (Thai/English)
v1.5.0 — English Language Switch
What's New
- English language switch — new setting in Settings > Cookie Consent to switch all plugin text between Thai and English
- Refactored defaults system with per-language text arrays
- Category labels, button text, and floating button adapt to selected language
- Reset defaults respects current language selection
v1.4.0
What's New
- Cleaner UI — softer shadows, larger border-radius, subtle press/hover micro-interactions, refined modal open animation
- Backdrop blur — optional blur effect on the background when the settings modal is open (Appearance setting)
- Full-width banner — optional edge-to-edge bar instead of floating card (Appearance setting)
- Updated default text — comprehensive Thai PDPA-compliant descriptions for all categories
- Updated category labels — คุกกี้ที่จำเป็นอย่างยิ่ง, คุกกี้เพื่อการตั้งค่า, คุกกี้เพื่อการวิเคราะห์และวัดผล, คุกกี้เพื่อการตลาด
- Floating button — renamed to "เปลี่ยนการตั้งค่าคุกกี้"
Use "Reset Text to Default" in admin to apply the new default text.
v1.3.0
What's New
- Granular cookie consent — 4 categories: Necessary, Functional, Analytics, Marketing
- Settings modal — visitors can toggle individual cookie categories
- No page reload — scripts unblock dynamically when accepting
- Server-side + client-side script blocking — dual-layer protection
- Consent logging — stores consent records with categories
- Shortcode
[npbn_cookie_settings]— render cookie toggles on any page - Floating settings button — easy consent withdrawal
- Theme font inheritance — uses your theme's font
- Auto-update from GitHub — updates appear in WordPress dashboard
- Admin settings — full control over text, colors, position, and category descriptions
- Reset to defaults button in admin
- Option to hide Reject All on banner (still visible in modal)