Viewing 7 replies - 1 through 7 (of 7 total)
  • There is a script clashing with the Cookie Law Info Javascript (jquery.cookie.js file). I see you’re also using the plugin EU Cookie Law, could you try disabling that? If that doesn’t work, try disabling other plugins to see what’s causing it.

    Thread Starter pressman80

    (@pressman80)

    Thanks for your reply

    Ok I have deactivated all plugins except the Cookie Law Info and i get the same result I guess its something to do with the theme but not too sure where to find it at the moment

    In that case yes, it could well be the theme. Check to see what scripts it’s loading.

    Themes *should* use wp_enqueue_script( … ) but many don’t, instead using echo ‘<script …’ – that’s not necessarily incorrect (Cookie Law Info does it in order to pass parameters to JavaScript) but can sometimes be the accidental cause of these issues.

    Another common thing to see is a theme de-registering e.g. jQuery and replacing it with a very specific version e.g. 1.4.1 – again, not necessarily ‘wrong’ but that can cause clashes with other scripts and plugins elsewhere. Related to this- you might want to check for the name used in wp_register_script to make sure there are no duplicates (between themes and plugins)

    Hope that helps.

    Thread Starter pressman80

    (@pressman80)

    Hi Richard

    I have it working it was a problem with the theme so thats good

    Do you know an easy way to do a cookie audit so i can put the cookies in the list?

    Thanks for your help and the plugin

    Hi, you can use Chrome in developer mode, but you need to check every page on your website, not just your homepage, and this is by no means a guaranteed way of capturing every cookie your site uses. Pretty reliable tho.

    View / Developer / Developer Tools > Resources > Cookies

    Cookies under e.g. yourdomain.com are ‘first party cookies’ the others are ‘third party cookies’.

    Thread Starter pressman80

    (@pressman80)

    Thanks

    I posted more about performing a cookie audit at: https://www.cookielawinfo.com/how-to-perform-a-website-cookie-audit/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Cookie Law Info] Banner half works’ is closed to new replies.