[WordPress] 外掛分享: Oven Cookie Consent

首頁外掛目錄 › Oven Cookie Consent
WordPress 外掛 Oven Cookie Consent 的封面圖片
全新外掛
安裝啟用
尚無評分
9 天前
最後更新
問題解決
WordPress 5.9+ PHP 7.4+ v1.0.10 上架:2026-06-05

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.10) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Oven Cookie Consent」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon