• manoranjan11

    (@manoranjan11)


    Hey,
    So i want the popup to show everytime, i did not chnage any settings and out of the box if i select yes to enter the page, it does not ask for it again.

    help

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @manoranjan11

    That’s how it’s supposed to work. It’ll show once per session. I’d imagine showing it every time someone clicks a link would get annoying, but you can do it like this:

    add_filter('age_gate/cookie/set', '__return_false');
    Thread Starter manoranjan11

    (@manoranjan11)

    even if i close the website and open it wont show,
    is there a option to fix this from the plugins settings
    or this code will do the work?

    Plugin Author Phil

    (@philsbury)

    Closing the browser doesn’t necessarily clear the cookies. On Windows it might, on Mac it would require the application to be quit entirely. Phones are probably something different again. These aren’t things we can easily control from the application as they’re browser specific.

    The above would make it work, but for every page, every time. So even if they’ve passed it once.

    Thread Starter manoranjan11

    (@manoranjan11)

    got it,
    so is there a code to show it every time? not every page

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not Working as expected’ is closed to new replies.