Support » Plugin: Responsive Cookie Banner » displays always

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author lewisgray200

    (@lewisgray200)

    It should not display once the accept button has been clicked. What is the url of your website?

    thank you very much for your fast response, this is the url: http://hi-markethink.alrsoluciones.com

    Plugin Author lewisgray200

    (@lewisgray200)

    Please change in wp-content > plugins > responsive-cookie-banner > js.js

    The line below (line 7)
    document.cookie = cname + “=” + cvalue + “; ” + expires;
    to
    document.cookie = cname + “=” + cvalue + “; ” + expires + “path=/”;

    now the banner displays in every page you haven’t visit in my site. I need the banner displays only the first time someone visit the site, not the first time someone visit every page of my site. Thanks for your help, this is a great support.

    please I need help here. Can you tell me how to fix this problem with the banner? Thanks in advance.

    Plugin Author lewisgray200

    (@lewisgray200)

    Please try changing the same line to:
    document.cookie = cname + “=” + cvalue + “; ” + expires + “domain=.alrsoluciones.com;path=/;”;

    I’ll try that and I’ll let you know if it works. But this is a temporary domain, I will have to change that line every time I change my site’s domain?

    It works! and I have found a way to get the domain dinamically, changing the line to: document.cookie = cname + “=” + cvalue + “; ” + expires + “domain=.” + document.domain + “;path=/;”;
    Thank you so much.

    Plugin Author lewisgray200

    (@lewisgray200)

    No problem 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘displays always’ is closed to new replies.