Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dFactory

    (@dfactory)

    Are you using a multilingual plugin?
    If so which one in in what kind of mode? Is it multisite?

    Thanks for describing this well. It’s what I’ve experienced also – if the accept was given on a specific page and then the user went to the homepage the bar would appear again. I had to move to another plugin since I was sitting with the client seeing the behavior.

    Thread Starter joelschmid

    (@joelschmid)

    Hello

    Sorry for the late reply.

    Yes it is a multisite and I’m using WPML to translate the website.

    I was able to solve the problem by manually editing the following file /wp-content/plugins/cookie-notice/js/front.js and changing the following line

    //document.cookie = cnArgs.cookieName + '=' + cookie_value + ';expires=' + later_date.toUTCString() + ';' + ( cnArgs.cookieDomain !== undefined && cnArgs.cookieDomain !== '' ? 'domain=' + cnArgs.cookieDomain + ';' : '' ) + 'path=/;' + ( cnArgs.secure === '1' ? 'secure;' : '' );

    However, this change might not survive the next update 🙂

    • This reply was modified 5 years, 3 months ago by joelschmid.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cookie Notice appears again if not accepted on Homepage (root)’ is closed to new replies.