Plugin Author
Dourou
(@dourou)
Hi Clickmarketing,
You can achieve that with a bit programming.
If you go to line 129 of the file ‘cookiewarning.js’ you’ll find a function that goes:
if(are_cookies_enabled()){
checkCookie();
}
you can add a condition in there to prevent checkCookie() to launch on a set of pages.
Or if you prefer doing it in PHP, you can edit cookie-warning.php (line 53) to prevent loading the js file of the plugin on a set of pages.
Can I request this as a new feature on your next update? Thanks!
I am just concerned if we modify the plugin we might get maintenance issues in the future.
Please reply on my previous question.
I have another question. Our website is a multilingual website (uses wpml plugin) so we have .de, .be, .com, and .nl domains in 1 website. How do we make the cookie warning popup not active when users go to .de, .be, .com or not active when user is NOT within ip range netherlands?
Thanks!