Plugin Directory

Test out the new Plugin Directory and let us know what you think.

EU Cookie Law

EU Cookie Law informs users that your site uses cookies, with option to lock scripts before consent. Light + Customizable style.

EU Cookie Law is a light, elegant and powerful solution that allows your website to comply the european cookie law by informing users that your site has cookies, with a popup for more information and option to lock scripts before acceptance (as required by Italian Law - Garante della Privacy dispositions).

You can customise the style to perfectly fit your website and you have many options to control cookies behaviour after and before acceptance.

Demo: http://www.sanpellegrinoterme.gov.it


  • Customizable banner (color, position, strings)
  • Consent by Clicking, Scrolling and Navigation
  • Set your page, popup or custom URL for Cookie Policy
  • Set cookie expiry
  • Fully responsive for tablets and smartphones
  • Compatible with mobile themes and plugins
  • Compatible with multilanguage plugins
  • Certified for WPML
  • Shortcode to revoke cookie consent
  • Shortcode to show a list of cookies
  • Compatible with Disqus and Jetpack InfiniteScroll

Advanced Features

  • Block scripts if cookies are not accepted
  • Automatic block of iframes, embeds, scripts and objects
  • Complete set of developer Shortcodes and PHP Functions
  • Manual and Automatic set width and height of blocked content

Simply install the plugin and follow the instructions on the Settings page.

Cookie block

You can lock cookies using [cookie] and [/cookie] shortcodes in every post, page and widget. You can use php functions too:

if ( function_exists('cookie_accepted') && cookie_accepted() ) {
    // Your code

More Shortcodes & PHP Functions are available in our faqs.

EU Cookie Law started from Peadig in 2012 and in june 2015 has became part of WPGov.it that aims to give Italian Public Government powerful open source solutions for websites.


You can add your translations here: translate.wordpress.org

If you want to be translation editor for your locale, please send your username and language code (eg. it_IT) to milesimarco@outlook.com. @tabakisp (el)

Thanks to: Gerard Weijer, Karsten Höfner, Mariusz Kołacz, Marco Milesi, Núria Nadal


Requires: 4.3 or higher
Compatible up to: 4.7.3
Last Updated: 3 months ago
Active Installs: 70,000+


4.6 out of 5 stars


0 of 8 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

2 people say it works.
1 person says it's broken.

100,1,1 50,2,1
100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 50,2,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,1,1
100,1,1 100,1,1
0,1,0 100,1,1