by Kenneth “Demetrius” Weaver on WordPress.org
Cookie consent banner and basic compliance tools (GDPR/CCPA) with simple setup and accessible UI.
CookieJar displays a small, accessible cookie consent banner and lets you set:
* Message & policy link
* Accept & Learn More text
* Position (top or bottom)
* Light or dark theme
* Consent expiration days
It sets a simple cookie (cookiejar_consent=1). You can then conditionally load non-essential scripts (analytics, ads, etc.) only after consent.
DISCLAIMER: This plugin does NOT guarantee legal compliance. Regulations (GDPR, CCPA, ePrivacy, etc.) vary by jurisdiction and implementation. Consult qualified legal counsel for requirements applicable to your site.
cookiejar_has_consent()Action: cookiejar_banner_before( $settings )
Action: cookiejar_banner_after( $settings )
Filter: cookiejar_public_settings( $settings )
Filter: cookiejar_consent_cookie_name( $name )
Filter: cookiejar_cookie_attributes( $attrs )
Generate / update translation template file:
wp i18n make-pot . languages/cookiejar.pot --exclude=assets,node_modules,vendor
Developed by DemeWebSolutions.com / Kenneth “Demetrius” Weaver.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 (or later) as published by the Free Software Foundation.
This plugin itself does not log personal data. You are responsible for ensuring any third-party scripts you conditionally load respect user privacy.
Not legal advice. Confirm regional requirements independently.