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');
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.
got it,
so is there a code to show it every time? not every page