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

    (@lewisgray200)

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

    Thread Starter liz.mcruz

    (@lizmcruz)

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

    Plugin Author Lewis

    (@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=/”;

    Thread Starter liz.mcruz

    (@lizmcruz)

    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.

    Thread Starter liz.mcruz

    (@lizmcruz)

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

    Plugin Author Lewis

    (@lewisgray200)

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

    Thread Starter liz.mcruz

    (@lizmcruz)

    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?

    Thread Starter liz.mcruz

    (@lizmcruz)

    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 Lewis

    (@lewisgray200)

    No problem ??

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