Description
kjrocker Cookie Consent helps your WordPress site comply with EU Cookie Law, GDPR, and ePrivacy regulations by displaying a clean, configurable cookie consent banner.
Features
- Simple, clean banner — bottom or top of screen
- Fully customisable colours via an admin colour picker
- Accept and/or Decline buttons
- Optional link to your Privacy Policy page
- Three compliance modes: Opt-in (GDPR), Opt-out (CCPA), or Informational
- Smooth slide-in animation (optional)
- Auto-dismiss after N seconds (optional)
- Configurable cookie name and expiry period
- Cookies set with
SameSite=Lax; Securefor modern browser compatibility - PHP 8.x compatible
- Translation ready
Compliance Modes
- Opt-in (GDPR) — The consent cookie is only set after the user clicks Accept.
- Opt-out (CCPA) — Assumes consent; the cookie is set on page load. User can still decline.
- Informational — Banner displayed for information only; no consent tracking.
Installation
- Upload the
kjrocker-cookie-consentfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings Cookie Consent to configure the banner.
FAQ
-
Does this plugin make my site GDPR compliant?
-
This plugin provides a cookie consent banner as one component of GDPR compliance. Full compliance depends on your overall data processing practices.
-
Yes — all text, colours, and behaviour are configurable from Settings Cookie Consent.
-
Will this slow down my website?
-
No. The plugin loads a small CSS file and a minimal JavaScript file only on the frontend.
Reviews
Contributors & Developers
“kjrocker Cookie Consent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “kjrocker Cookie Consent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.0
- Full rewrite: converted to OOP (class-based) architecture
- PHP 8.x compatibility fixes
- Added proper sanitize_callback to register_setting()
- Added nonce verification on settings form
- Added SameSite=Lax; Secure cookie attributes
- Added three compliance modes: opt-in, opt-out, informational
- Added Decline button with configurable colour
- Added AJAX consent recording hook for server-side logging
- Added auto-dismiss feature
- Added “ Settings” shortcut link on Plugins page
- Fixed “ Cookie Concent” typo in admin heading
- Fixed Stable Tag SVN configuration
- Improved admin UI with card-based grid layout
- Improved accessibility: ARIA attributes on banner, focus styles
1.1.5
- Minor updates
1.1.0
- Added colour picker for banner customisation
1.0.0
- Initial release




