该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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