這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

kjrocker Cookie Consent

外掛說明

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; Secure for 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.

螢幕擷圖

安裝方式

  1. Upload the kjrocker-cookie-consent folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Settings Cookie Consent to configure the banner.

常見問題集

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.

Can I change the banner text?

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.

使用者評論

2023 年 12 月 25 日
ThankYou 🙂 The plugin superb non intrusive, simple and not complicated at all exactly does the job as expected .
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈kjrocker Cookie Consent〉的開發相關工作。

參與者

將〈kjrocker Cookie Consent〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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