Cookie Consent is a GDPR-compliant WordPress cookie consent extension: a banner that actually blocks third-party content (videos, statistics, ads) until the visitor has given their consent, and which keeps a record of each choice.

Many banners just display a message while the scripts are already loading. This one blocks the relevant scripts and embedded content, enables them only for the accepted categories, and picks up your theme’s colors and fonts without any setup.
Real blocking of third-party content

Nothing optional loads before consent. YouTube videos, Google Maps, social networks and even captchas are replaced by a placeholder that names the service, with a button to accept and load it.
Search engines see the full page, and the blocking works behind a page cache.
Site analysis and blocking rules

- Site analysis and adding services in one click
- Ready-made categories, plus your own
- Necessary cookies declared, never blocked
- Google Analytics or Matomo without touching the theme
A banner in your colors

By default, the banner follows your theme’s colors, fonts and buttons. Text and style templates, position, width, animations and a floating “Manage cookies” button are set with a live preview. A shortcode reopens the banner from any page, for example your cookie policy.
Proof of consent
- Every choice recorded, along with the banner shown
- IP address stored only as a hash
- Log exportable to CSV
- Compatible with the WP Consent API
Installation and updates
- Download the .zip from the releases page.
- Plugins, Add New Plugin, Upload Plugin.
- Install and then activate.
- Launch the site analysis, tab Cookies.
New versions then appear on their own in the WordPress Updates page, just like a plugin from wordpress.org: they come from LRob’s code server, git.lrob.net.
PHP 8.2 or newer is required and WordPress 6.8 or newer is required.
Frequently asked questions
Is Cookie Consent free?
Yes. GPL license, no paid version, no subscription and no limit on visits.
What exactly does it block?
Scripts and embedded content (iframes) that match your rules: they are neutralized before consent, then enabled only for the accepted categories. The site’s own cookies stay in the “necessary” category.
Does it work with a page cache?
Yes: the cached page is the same for everyone; blocking and activation happen in the visitor’s browser according to their choice.
Does it generate my cookie policy?
No, on purpose: the plugin stays focused on the banner, blocking and proof of consent.
Source code and license
Cookie Consent is released under the GPL 2.0 or later license, like WordPress: open source, free, with no paid version. The code, releases and issue tracker are on git.lrob.net/WP/cookie-consent ; for a bug or an idea, open an issue on the repository.
Other LRob WordPress plugins
- Email Toolkit : emails, forms and newsletters
- LRob Calendar : event calendar
- QR Code Maker : QR codes with scan tracking
- Age Gate : age verification
- La Carte : bar or restaurant menu
- LRob Hiboutik : Hiboutik point of sale and WooCommerce
- Gutenberg Blur : blur and glass effect for your blocks
All the plugins, sorted by use, are on the page LRob Plugins.