Description
MLX Cookie Consent is a lightweight, developer-friendly cookie consent solution built by Modulux.
It provides the technical tools to control when scripts and embedded content load based on user consent.
When configured and used correctly, it can support compliance efforts for GDPR, ePrivacy, UK GDPR,
and similar regulations.
This plugin does not automatically make your site legally compliant.
You are responsible for correctly classifying scripts, providing accurate information,
and maintaining proper privacy and cookie policy pages.
Project home: modulux.net
MLX Cookie Consent is multilingual-ready and works with WPML or Polylang via String Translation.
All user-facing texts (titles, descriptions, buttons, category labels) can be translated per language.
External Services
This plugin does not connect to any external or third-party services by default.
MLX Cookie Consent does not send data to external servers, does not load remote scripts, and does not perform any tracking on its own.
The plugin provides a technical mechanism that allows site administrators to conditionally load third-party scripts (such as analytics, maps, fonts, or captcha services) after obtaining user consent.
Any external services (e.g. Google Analytics, Google Maps, reCAPTCHA) are:
– Added manually by the site administrator
– Loaded only after explicit user consent
– Fully controlled and configured by the site owner
MLX Cookie Consent does not transmit any data to these services itself. Any data transmission is performed directly between the visitor’s browser and the third-party service, according to the configuration and privacy policies of that service.
Features
- Script loading blocked until user consent
- Category-based consent (necessary, analytics, marketing, etc.)
- Preferences modal with granular control
- Consent revisioning to re-ask users when policies change
- Supports external scripts, inline scripts, iframes, and embeds
- Developer hooks for advanced customization
- No external dependencies, bundled internal JS engine
Libraries Used
This plugin bundles the following open-source library:
CookieConsent by Orest Bida
License: MIT
The library is included locally with the plugin and does not perform any network requests or data transmission by itself.
Usage
Scripts are output as inactive placeholders and executed only after consent:
…
Examples include:
* Google Analytics
* Google Fonts
* Google Maps
* reCAPTCHA
* Third-party widgets and embeds
Iframes and embedded content should be loaded dynamically after consent using JavaScript.
Multilingual
MLX Cookie Consent integrates with WPML and Polylang via String Translation.
Texts stored in plugin options are automatically available for translation.
Script logic remains category-based and shared across languages.
Advanced (Developers)
The plugin exposes optional WordPress filters:
- mlx_cc_options
- mlx_cc_categories
- mlx_cc_sections
- mlx_cc_preferences
These filters allow programmatic customization such as language-based logic,
conditional script loading, or dynamic category handling.
Installation
- Upload the plugin files to the
/wp-content/plugins/mlx-cookie-consentdirectory, or install via WordPress. - Activate the plugin through the Plugins screen.
- Go to Settings MLX Cookie Consent.
- Configure layout, content, categories, and preferences.
- Test in a private/incognito window to confirm scripts load only after consent.
FAQ
-
Does this plugin guarantee GDPR compliance?
-
No. It provides technical tools only. Legal compliance depends on correct configuration and legal review.
-
Does it work with caching plugins?
-
Yes. Always test after enabling caching.
-
Can I load different scripts per language?
-
Yes, via developer filters or custom logic.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“MLX Cookie Consent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “MLX Cookie Consent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release





