Thanks Bogdan, you have mail đ
Hi, i have the same issue but i have already created a new page and disable all plugin.
This is the error: Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!
Can you help me? Bogdan?
Hi catalin. Ok, but i don’t understand for categories and homepage wich are the module i must edit.
thanks
Infact, in sidebar the shortcode works properly. It does’nt work in single post and header banner
hello catalin,
my shortcode is: [wp_cookie_privacy_lock] my adsense code [/wp_cookie_privacy_lock]
Can you write me the correct function?
@Bogdan i use the same plugin in all my website. Only in Newspaper, that is a complex theme, i have this problem. For this reason i don’t wont hire a freelance, because the problem is not the plugin but YOUR theme! I try different ways, different plugins but your theme don’t work well.
Thanks to all.
my cookie block plugin works only in the sidebar of your theme. It is very abnormal that i can not insert a shortcode in this theme or a simple “if”.
hi all, @bogdan i tried the other way but nothing. Now i’m using another plugin for adsense but each plugin i use, the cookie block script don’twork only in your theme. See here: http://prntscr.com/9k6wna
Thanks Bogdan.
@Chris no, in the european cookie law compliance you MUST block cookies of thirdy party. You need not only a banner who shows simply the policy.
ok but if is it so, your theme don’t offer possibility to use correctly ads because the european cookie law wants we can block cookies. I have buyed this theme because i was sure i can do that with a simple shortcode.
i don’t understand if i must use the shortcode [wp_cookie_privacy_lock] and [/wp_cookie_privacy_lock] or this <? if(isset($_COOKIE[‘rltcp_information_cookie’])):?> and <? endif; ?>
here’s the instruction of plugin:
To block adsense banner in your theme paste this code
<? if(isset($_COOKIE[‘rltcp_information_cookie’])):?>
here paste your adsense code
<? endif; ?>
Shortcode
[wp_cookie_privacy_lock]
here the adsense code if user accept cookies
[/wp_cookie_privacy_lock]
the shortcode is:
[wp_cookie_privacy_lock]
[/wp_cookie_privacy_lock]
i’m sorry but i don’t understand if i must use your code or the code of the privacy plugin.
In my case the script to block is:
<? if(isset($_COOKIE[‘rltcp_information_cookie’])):?>
my adsense code
<? endif; ?>
What i must to do? Thanks a lot for your help guy!
-
This reply was modified 10 years by
seosmart.
thanks for your help, i will try. With this metod i must insert the script adsense directly in the code of the page? I can not use the theme’s option, right?
hi, how i can insert this custom other ads in the header so i can use the cookie block shortcode?
