Plugin Directory

Italy Cookie Choices (for EU Cookie Law & Cookie Notice)

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Italy Cookie Choices (for EU Cookie Law & Cookie Notice)


The Cookie Law is one of the most stupid law in the world. Maybe made by someone, who doesn’t really understand how the web works.

Italy Cookie Choices allows you to easily comply with the european cookie law (and Italian too), showing a notice to the user only the very first time he visits your website.
Message, position and the style can be easily modified through the plugin menu.

The plugin will not add any CSS stylesheet or Javascript file but only inline script, so it doesn’t make your website slower.

Now you can block all cookies with new Third Part Cookie Eraser, activated it and let me now if you have any issue

What you can do

  • Display banner in front-end
    ** Three template (standard, big buttons, small buttons)
    ** Three position (top, dialog, bottom)
    ** Or custom style
  • Content banner customizable with HTML tags
  • URL and buttons text customizable
  • Acceptance on mouse scroll
  • Acceptance on second view
  • Block third party script in page
  • Add custom script to not block (all page)
  • Add custom script to block (wp_header and wp_footer)
  • Multilanguage (WPML, Polylang, Ceceppa)

For more informations read the documentation

Please, notify any issue on github repository https://github.com/ItalyCookieChoices/italy-cookie-choices/issues

Anonymize Analytics IP

Add ga('set', 'anonymizeIp', true); in your analytics snippet AnonymizeIP

Compatibilità W3TC & WP Super Cache fix


Style customization






  • English: default, always included.
  • Italian: Italiano, sempre incluso.
  • Romanian: Română, inclus.

Note: This plugins is localized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the awesome “Codestyling Localization” plugin and for validating the “Poedit Editor”.

Additional Info

Idea Behind / Philosophy: Italy Cookie Choices allows you to easily comply with the european cookie law, showing
a notice to the user only the very first time that visits your website without degrading website performance..



  • Italy Cookie Choices Options Menu
  • Italy Cookie Choices top bar and embed block in front end
  • Italy Cookie Choices Options for Dialog box
  • Italy Cookie Choices Dialog Box in front end
  • Italy Cookie Choices Widget area
  • Italy Cookie Choices Content area


  1. Upload italy-cookie-choices folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin throught Settings -> Italy Cookie Choices


How does it work?

When a user visit your site, the plugin will check if this user has been already there, checking for a cookie that the plugin self creates (it is just a session cookie, so it is not against the law). If the user has not this cookie, a message will be shown (you can configure where, how and what will be show). If the users keeps surfing in your website, now or withing the next month, it means that he accepted the use of cookies in your website, so this message
will not be shown again.

Why am I not seeing the message?

Probably, you already have visited the site before, so you accepted the use of cookies and the plugin installed a cookie in your browser to know it. If you want to test if the plugin is working properly, try removing the cookies displayCookieConsent from your web browser or navigating in incognito mode. If you think that the plugin is not working properly, just open an issue here https://github.com/overclokk/italy-cookie-choices/issues and I will check it for you.

Does it work in static HTML pages?

Yes, simply copy the snippet generate by “Italy Cookie Choses for WordPress” and put in your HTML footer before tag

I use Async JS and CSS plugin, but the banner doesn’t display

You have to uncheck the Detect <script> tags in wp_footer in Async JS and CSS plugin settings page and refresh page.

I don’t see the banner in my site

Try this way:
deactivate all plugin and try
if it works activate one pluigin at time and try
if it doesn’t work activate standard theme and try


مارس 5, 2023
Funziona benissimo speriamo lo aggiorniate
مارس 30, 2018 1 reply
Se ben configurato, non perde un colpo! 👍
جونڥي 21, 2018 1 reply
Mi sembra un ottimo plugin. Con i banner pubblicitari non ho ancora provato, ma ho visto che blocca le finestre video di YouTube fino a quando non scatta il consenso. Da un test con Ghostery sembra che non blocchi (automaticamente) i pulsanti di condivisione di Facebook (appare la scritta Facebook beacon). Da quanto ho capito si dovrebbe inserire il codice manualmente nella sezione Script da bloccare, probabilmente nello spazio Personalizzate. Mi sapreste dire il codice da inserire? Grazie mille e complimenti per l’ ottimo lavoro Andrea
فيڥري 6, 2017 1 reply
Lo utilizzo su più siti. è leggero, ampiamente personalizzabile (le opzioni predefinite sono giustamente limitate, ma si possono utilizzare o aggiungere classi css per ogni elemento). Non mi ha dato assolutamente noie tecniche in tutte le condizioni di test e, cosa non scontata, va bene anche in siti multilingua grazie alla perfetta compatibilità con lo string translator di WPML. 5 stelle piene e un grande grazie agli sviluppatori. unico suggerimento, aggiungere l’opzione per aprire la cookie law a pop-up.
Read all 35 reviews

Contributors & Developers

“Italy Cookie Choices (for EU Cookie Law & Cookie Notice)” is open source software. The following people have contributed to this plugin.


“Italy Cookie Choices (for EU Cookie Law & Cookie Notice)” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Italy Cookie Choices (for EU Cookie Law & Cookie Notice)” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Release Date: Sep 29th, 2021

Dev time: 2h


  • This fixes issue #212
  • And it’s time to start a refactoring for this plugin, too much legacy code and too much shitty code


Release Date: November 13rd, 2018

Dev time: 30m

  • This is only an update for the upcoming WordPress 5.0
    No changes are made.


Release Date: Dicember 4th, 2016

Dev time: 4h

  • Fixed server error 500 on php7 if advanced-cache.php doesn’t exist.


Release Date: November 13th, 2016

Dev time: 4h

  • Code refactoring for psr-4


Release Date: October 9th, 2016

Dev time: 1h


Release Date: January 6th, 2016

Dev time: 10m


Release Date: January 5th, 2016

Dev time: 10h

  • Fixed Ceceppa Multilingua string translations bug #152 and


Release Date: December 29th, 2015

Dev time: 1h

  • Fixed PHP7 Fatal error #149
  • Walking to WPCS


Release Date: November 6th, 2015

Dev time: 50h


Release Date: August 31th, 2015

Dev time: 11h

  • Added import/export functionality
  • Maybe fixed #133
  • Fixed PHP check for lang functions #128


Release Date: July 25th, 2015

Dev time: 3h


Release Date: July 22th, 2015

Dev time: 10min


Release Date: July 21th, 2015

Dev time: 2h

  • Fixed #126 and #103 for Sitemap and feed page


Release Date: July 17th, 2015

Dev time: 1h


Release Date: July 13th, 2015

Dev time: 3h

  • Added link to setting page and docs in plugins panel
  • Fixed issue #118


Release Date: July 11th, 2015

Dev time: 50h


Release Date: July 1st, 2015

Dev time: 3h


Release Date: July 1st, 2015

Dev time: 10h


Release Date: June 24th, 2015

Dev time: 100h


Release Date: June 5th, 2015

Dev time: 100h


Release Date: June 5th, 2015

Dev time: 60h

  • Merged Third part cookie eraser and Italy Cookie Choices
  • Added new input for banner background color and text color
  • Added input for text and button in embed block content and widget
  • Added shortcode button for policy page [accept_button]


Release Date: May 31th, 2015

Dev time: 3h

  • Added slug input for your cookie policy page to display only topbar
  • Added option for target _blank


Release Date: May 29th, 2015

Dev time: 1h


Release Date: May 28th, 2015

Dev time: 2h


Release Date: May 27th, 2015

Dev time: 20h


Release Date: May 26th, 2015

Dev time: 5h

  • Fixed admin UX https://github.com/overclokk/italy-cookie-choices/issues/14
  • Fixed Typo in lang
  • Changed WP compatibility to 4.1
  • Added noscript in case browser has JavaScript disabled https://github.com/overclokk/italy-cookie-choices/issues/8
  • Fixed click event https://github.com/overclokk/italy-cookie-choices/issues/15


Release Date: May 22st, 2015

Dev time: 10min

  • Fix z-index issue


Release Date: May 22st, 2015

Dev time: 1h

  • Add scroll event


Release Date: May 22st, 2015

Dev time: 10h

  • Fix special char visualization
  • Add italian translations
  • Removed default text


Release Date: May 21st, 2015

Dev time: 50h

  • First release.