Custom Cookie CMP

وضاحت

Custom Cookie CMP is a lightweight and modern cookie consent plugin for WordPress. It helps you comply with GDPR and other privacy regulations while integrating seamlessly with Google Consent Mode v2.

It displays a customizable cookie banner and a preferences popup where visitors can manage consent by category. Consent choices are stored for a configurable period and can be updated at any time.

Built with performance in mind — no external dependencies, no unnecessary scripts.

Features

  • Clean and customizable cookie consent banner
  • Google Consent Mode v2 integration
  • Granular cookie categories (Functional, Marketing, Analytics, Preferences)
  • Configurable consent expiry period
  • Modern preferences popup with toggle controls
  • Lightweight and fast — no external libraries
  • Translation-ready (WPML / Polylang compatible)

تصوير

  • Powerful and clean admin dashboard with full control over banner behavior and consent settings.
  • Multilingual text management with structured tabs for Banner, Popup, Buttons, and Categories.
  • Elegant and responsive frontend cookie preferences modal with granular consent controls.
  • Clean and customizable cookie consent banner with Accept, Decline, and Manage options.

انسٽاليشن

  1. Upload the plugin files to /wp-content/plugins/custom-cookie-cmp/
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Go to Settings Cookie CMP to configure the banner

FAQ

Does this plugin support Google Consent Mode v2?

Yes. The plugin integrates with Google Consent Mode v2 and updates consent states based on user choices.

Is this plugin GDPR compliant?

The plugin provides the necessary UI and consent management tools. Final compliance depends on your website configuration and legal requirements.

Can I customize the banner appearance?

Yes. You can customize banner text, colors, buttons, layout, and consent expiry directly from the admin panel.

Is it translation-ready?

Yes. The plugin is fully translation-ready and compatible with WPML and Polylang.

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Custom Cookie CMP” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Custom Cookie CMP” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.3.2

  • Fix: text fields in the Texts section were not saved on sites without Polylang or WPML — locale key case mismatch (en_US vs en_us) caused saved values to be unreadable

1.3.1

  • CSS: fixed bottom-left and bottom-right banner positions on mobile (equal 15px margins on both sides)
  • CSS: removed banner_inline_layout option; changed banner border radius default from 4 to 0
  • Build: added npm-based minification for CSS and JS (clean-css-cli + terser + onchange)

1.3.0

  • Added “center (floating)” banner position
  • Added banner border radius setting
  • Added banner bottom offset setting
  • Added banner inline layout option (text and buttons in one row)
  • Added banner padding, font size, inner width and inner side padding settings
  • Added button min-width setting
  • Added hide “Decline all” button option
  • Added hide banner title option
  • Added banner link color field
  • CSS: switched banner inner layout from grid to flex for better responsiveness
  • CSS: new CSS variables for all new styling options

1.2.3

  • Performance: frontend banner CSS and JS are now skipped for visitors who already have a saved consent cookie
  • Google Consent Mode: stored consent choices are now restored via a lightweight inline script on repeat visits, ensuring gtag(“consent”,”update”) fires correctly even without the full UI
  • Added customcookiecmp_should_load_frontend_assets() helper for themes and plugins
  • Version and asset cache-busting bumped to 1.2.3

1.2.0

  • Added configurable consent expiry
  • Added Reset to defaults functionality
  • Improved admin UI structure
  • Fixed options cache issue

1.0.0

  • Initial release