You can use the “third_party_cookie_eraser” plugin and set as cookie this:
cookie_notice_accepted
with value
true
so, until you press the OK button all script/iframe/embed that are inside articles or widgets are blocked (and a custom message is show instead)
It’s available in just released 1.2.24
Regards,
Bartosz / dfactory
Boe ti trigger third party cookies disable in user refuses?
What to set in the plugin configuration page for that?
Hi,
Can you give me some information about the latest release?
How the refuse button work?
Can you give me some example?
The plugin block the third party cookies by default?
For example, one of my site:
http://www.marcocestari.com
I use the social button, facebook widget, instagram widget and some youtube videos.
The plygin block these cookies?
No, you have the wrap the code inside the function..
Could you please explain how to use that funcion?
thanks
For example:
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Google Analitycs or any other tracking code
}
Hello, will it work if i put that code into my function.php file in my wordpress theme?
Also, how should I write the names of the cookies after the // ? Thnak you, very nice plugin great work!
@luckyjdesign,
yes, this function should be already available.