Call us on +44 1235 436262 or contact us Follow Electric Studio on Facebook Follow Electric Studio on TwitterFind us on Google+

Subscribe to updates


Electric Studio EU Cookie Law Compliance Notice WordPress Plugin

6 Posted July 30th 2012 by in Electric Studio, WordPress Plugin

Disclaimer: Electric Studio are not legal experts and these are just our suggestions on the matter which we hope will be useful. It is not intended as legal advice.

Electric Studio EU Cookie Law Compliance WordPress Plugin

On May 26th 2011 a new EU originated law came into effect that requires website owners to make site visitors aware of what cookies your website sets and what they do.

If you are using a WordPress website, then it’s fairly straight forward to comply. In theory you need to do two things, 1) add a “about cookies” page on your website explain what cookies are being used and for what, 2 ) flag this up and offer a way to decline or accept this using our “Electric Studio EU Cookie Law Compliance” WordPress plugin. If you want to take it to the extreme, allow for people to turn off any non essential cookies using a functionality on your site, or explain how to use the browsers settings to do the same. By non essential cookies we mean cookies that are there for your needs only, eg Google Analytics or similar cookies used for user behavioural tracking.

Cookies deemed necessary are cookies used for example in eCommerce solutions to remember what items you have added to the basket, or if you are logged in etc. You don’t need to highlight the use of these cookies, or offer the option to opt out of these.

1. Explain what cookies are used on your website and why

On our WordPress website we use Google Analytic’s, so in our Privacy & Cookies page we explain this and state what each cookie does. This should, according to our understanding, be enough as long as there is a clear link somewhere on your website to this page. We recommend linking from all pages, either in the footer (see our footer) or header.

2. Install and setup the Electric Studio EU Cookie Law Compliance WordPress plugin

Electric Studio have a number of web design customers which use WordPress and as such we needed a way to install a EU Cookie Law compliance notice fast across multiple WordPress websites, so we created a plugin. Simple. And in pure WordPress community spirit, we share it with you for free.

Download from the WordPress Plugin Directory

It quite simple, install, link to your cookie page and comply. It looks a bit like the BBC website notice and just works.

Frequently Asked Questions

Q – What settings can I change?
A –  You can select to use the standard CSS (styling of the plugin), or to create your own. You can edit the notice text, and you can choose what page to link to for more information about cookies on your site

Q – What version of WordPress do I need
A – We have only tested with WordPress 3.4.1, but please, if you have got it working on older versions, let us know in the comments below.

Q – How much does it cost?
A – Nothing, it’s free

Q – It doesn’t work!
A – It is usually down to an old version of JQuery being used, add this to your functions.php file to load the latest versions:

function es_load_jquery () {
 $url = 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js';
 $check_url = @fopen( $url, 'r' );
 wp_deregister_script( 'jquery' );
 if( !$check_url )
 wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js', false, 1 );
 else
 wp_register_script( 'jquery', get_template_directory_uri() . 'LINK-TO-JQUERY-IN-YOUR-THEME', false, 1 );
 wp_enqueue_script( 'jquery' );
}
add_action( 'wp_enqueue_scripts', 'es_load_jquery' );

 



About the author

Patrik started his career as a web designer in Sweden way back in 1993. He moved to London in 2000 and joined KPMG/Atos Origin as a senior web designer, then founded Oxford Web Design company Electric Studio in 2005.
» «
  1. chris

    I’ve set it up and it all comes up fine, but nothing happens when you click the continue button? do I have to set this up somewhere, if so what do I have to do?

    Reply
    Oct 24, 2012 at 15:10
    • Patrik Johnsson

      Hi Chris

      It looks like your jQuery version is to old, are you running and old version of WordPress?

      Reply
      Oct 24, 2012 at 15:37
      • chris

        Currently running version 3.4.2, I think thats the latest?

        Oct 26, 2012 at 16:10
      • chris

        So what should I do to make this work?

        Oct 30, 2012 at 10:16
  2. tpd

    This plugin conflicts with jquery slider on home page. When I deactivate this the slider works fine but when I activate the slider stops working. I am using jquery accordion on policy page, that was also doing problems with the slider but there was an option for it to disable it for home and now it works fine.
    may be the jquery versions conflict

    Reply
    Aug 14, 2012 at 18:57
    • Patrik Johnsson

      Hi, looks like an issue with files not found on your website, I get the following 404′s in console:

      Failed to load resource: the server responded with a status of 404 (Not Found) http:// printandwebdesigns.co.uk/wp-content/themes/kaleidoscope/js/jquery.cycle.all.min.js
      Failed to load resource: the server responded with a status of 404 (Not Found) http:// printandwebdesigns.co.uk/styleindx.css
      Uncaught TypeError: Object [object Object] has no method ‘superaccordion’ custom.js:4

      Also make sure you only load jQuery once, you current load 1.4.2 first, then 1.7.2, so there are some coding issues with your website.

      Reply
      Aug 14, 2012 at 19:04

Leave your comments