vanigliapro
Forum Replies Created
-
I discovered there’s a compatibility problem between the function wp_add_inline_script() and my wordpress version (4.2).
Unfortunately i can’t update my wordpress version, so… There’s an alternative script compatibile with WordPress v4.2?
- This reply was modified 6 years, 6 months ago by vanigliapro.
- This reply was modified 6 years, 6 months ago by vanigliapro.
Hi,
unfortunately, the function doesn’t work…
Here is the error message from debug mode (I hid the site name):
Fatal error: Call to undefined function wp_add_inline_script() in /var/www/vhosts/SITENAME.it/httpdocs/wp-content/themes/spalab/functions.php on line 23
What can i do?
Yes, it would be the best solution (it’s a possibility contempled in the gdpr)
Ok, thank you!
I’m waiting for it!
Hi!
Thanks for your reply!
Anyway, maybe I did not explain it clear enough…
I mean, the plugins manages the cookies and third party script based on the user preference, right? Well, it is possibile to contemplate that the user accepts all cookies/scripts simply by scrolling the page?
If he’s interested in what he sees, and he scrolls the page down, it’s as if he had agreed to enable all cookies/scripts, isn’t it?
I’ve seen other gdpr compliant plugins allow this feature.
Thank you!
Same for me but… even if in the page source the snippet does not appear, analytics counts the visits anyway. Strange…