This very simple plugins places a notification above each page about cookie usage on your site through the CookieOK script by Digital Morphosis.
Stricly speaking, this might not be seen as a full compliance with the EU law ‘to the letter’ because that would mean either disabling large parts of your WordPress site or simply blocking visitors from browsing your site until they approve cookie usage. In both cases, your site will become very user unfriendly.
Therefore, this plugin is designed to be less obtrusive than others. Visitors will see a small band above each page with a notice about cookies being used which they can accept, after which they will not see the notification any more. But even if they ignore the message, they will still be able to browse your site. Nobody will be blocked at any time.
This plugin does not create a possibility for users to disapprove of cookies and continue browsing your site without them. It simply is impossible to create a generic server side method to prevent cookies. Besides WordPress’s own cookies (left when a visitor comments or logs in), there are just too many plugins out there that all place their specific cookies. Visitor stats, social media buttons, embedded Youtube or other media, Gravatar hover cards, chat widgets or buttons, fancy sliders, big menus or other web 2.0 effects, multi-language plugins, adverts… The list goes on and on so even if it is possible in particlular cases, it would be just silly to attempt this for all sites.
Currently, there are no configuration options. The cookie notification is a fixed generic message in English only. The notification bar appears at the top with a green background color. Future versions will get a configurable message, multi-lingual support and some styling options.
Quick installation: Install now !
… OR …
Go to that slick Plugins > Add New back-end page and search for “cookie ok”.
… OR …
Follow these steps:
Upload the zip file via the Plugins > Add New > Upload page … OR … unpack and upload with your favourite FTP client to the /plugins/ folder.
Activate the plugin on the Plug-ins page.
WordPress MU / WordPress 3+ in Multi Site mode
Same as above but do a Network Activate to activate the cookie notification on each site on your network. No database tables are created or manipulated and no activation hook needs to be run for it to function with default settings. The plugin can also work from the /mu-plugins/ folder where it runs quietly in the background without bothering any blog owner with new options pages or the need for special knowledge about it. Just upload the complete package content under the /cookie-ok/ directory to /mu-plugins/.
Contributors & Developers
“Cookie OK” is open source software. The following people have contributed to this plugin.Contributors
Date: 05 Sept 2014
Dev time: 3 hours
- Update jQuery Cookie script to 1.4.1
- Local stylesheet (adapted for Twenty Fourteen)
- Slide effect, no reloading of page
- Appended div with eu_cookie_notify ID
- use WordPress internal jQuery library
- seperate jQuery Cookie extension
- initial plugin as created by Digital Morphosis and hosted on http://cookieok.eu