WordPress Plugin

We now have a WordPress plugin available to add the script to your site.

You can download it from http://cookieok.eu/plugins/wordpress/cookieok.zip

Yes, we do use WordPress for this site and this was the easiest way for us to add the CookieOK script to our own site 🙂


13 Responses to “WordPress Plugin”

  1. Nicole May 4, 2012 at 12:58 pm #

    Thank you very much for your work on this! Can I ask a question – is there a way to include a “No thanks” option in the script? (Or have I missed one that already exists?) As it is, the only option is to click “I accept”, or to have the green bar there all the time, which I’d think might annoy people a bit.

    There may be a really obvious reason this wouldn’t work, and if there’s a way for me to fix this myself, please do let me know – I’m quite new to all this (so please forgive anything that smacks of laziness – it’s just ignorance!)

  2. Lynne May 9, 2012 at 1:26 pm #

    Am currently trying out this plugin – should it also disable cookies until they are accepted?

    • admin May 9, 2012 at 1:54 pm #

      No the plugin does not disable cookies in WordPress. A fresh WordPress install does not create cookies, but it is possible that plugins may do that.

      You can check if cookies have been accepted by looking for the cookie “_cookieok” which will have a value of 1, if the visitor has accepted cookies.

      Cookies can also be created by JavaScript included in the page. You can check if cookies have been accepted in Javascript using code from this article: http://cookieok.eu/32/preventing-google-analytics-cookies

  3. Chazzer May 25, 2012 at 3:40 pm #

    Seems to conflict with jShortcodes plugin [jtabs]. Tabs do not display.

  4. Lynette Berry May 30, 2012 at 11:16 am #

    Where do I put the code on my wordpress website. I have tried adding it to my home page but it does not seem to work

  5. Stuart Rutter - Aura99 web design and internet marketing June 8, 2012 at 2:22 pm #

    Excellent plugin I was planning on developing a plugin myself, but this is great.


  6. site June 27, 2012 at 10:21 am #

    Is it alright to put a portion of this in my blog if perhaps I submit a reference to this web site?

    • admin October 28, 2012 at 9:35 pm #

      feel free to use it as you wish

  7. RavanH October 27, 2012 at 5:09 pm #

    Excellent solution. I like the simplicity 🙂

    On question: any chance the message in this script will be translated (or translatable, dynamically set or otherwise) to other languages?

    • RavanH October 27, 2012 at 6:31 pm #

      One problem though… the included jQuery conflicts with the one from WordPress itself which is used by other plugins. Can I suggest some improvements?