Oven integrates the CookieConsent JavaScript library (v3.1.0) into WordPress to provide a compliant, accessible cookie consent experience.
Features
Cookie consent banner – Shows a consent modal to visitors on first visit with Accept all, Essential only, and Manage preferences.
Automatic cookie detection – Enable “Cookie detection mode” in settings, then browse your site while logged in as an administrator. Cookies set during your visit are detected and added to the list.
Essential vs non-essential – WordPress core cookies (login, session, comments, settings) are classified as essential; third-party and analytics cookies as non-essential. Visitors see both categories in the preferences modal.
Revision and re-consent – When a new cookie is detected and added, the revision number is incremented. All visitors (including those who had previously accepted) must consent again.
Logged-in vs guest – For guests, consent is stored in a cookie so they are not prompted on every visit (until the revision changes). For logged-in users, consent is stored in the database (user meta) tied to their account.
Consent logging – For logged-in users, each consent choice is recorded in their profile. Admins and editors can view when a user accepted and which cookies they accepted (Users → edit user → Cookie consent).
Cookie descriptions – You can edit a short description for each cookie so visitors know what it does. Descriptions are shown in the preferences modal.
Privacy policy link – Optional privacy policy URL in settings is shown in the consent modal (recommended for GDPR).
Accessibility – Uses the CookieConsent library’s built-in ARIA attributes and keyboard support.
Settings
Settings → Oven – Enable cookie consent, enable cookie detection mode, set an optional privacy policy URL (recommended for GDPR), and view or edit the list of detected cookies and their descriptions.
GDPR and compliance
Oven is designed to support compliance with the GDPR and similar laws:
Consent before non-essential cookies – Non-essential cookies and scripts that set them are blocked until the user accepts. Essential cookies (e.g. login, session) are allowed without consent.
Clear information – Visitors see a list of cookies with names and descriptions (editable in settings). You can link to your privacy policy from the consent modal.
Granular choice – Users can accept all, essential only, or manage preferences and toggle individual non-essential cookies.
Withdraw consent – Users can reopen the preferences modal and change or withdraw consent at any time. Rejected non-essential cookies are cleared on each visit.
Re-consent when policy changes – When you add or reclassify cookies, the revision number increases and all visitors are asked to consent again.
Consent logging (logged-in users) – For registered users, consent choices and timestamps are stored in their profile. Admins and editors can view consent history under Users → [user] → Cookie consent. Guest consent is not logged (stored only in a cookie).
Transparency – Cookie detection mode helps you build an accurate cookie list; you can add cookies manually and describe what each one does.
Requirements
PHP 7.4 or higher
WordPress 5.9 or higher
Credits
CookieConsent (v3.1.0) by Orest Bida – https://github.com/orestbida/cookieconsent – MIT License.
We use cookies on our website to enhance your browsing experience. By using our site, you agree to the use of cookies, including those from Google Analytics and Google AdSense, for analytics and personalized advertising. You can view our full privacy policy by clicking here. Thank you for visiting!