bohnonlos
Forum Replies Created
-
I have write a review now. Thank you again
Hi Jarnovos thank you for you work. The problem is solved. This is the new code:
<?php
/**- Force consent cookies on the root as shown below, or choose a subfolder
- Add subfolder between ” on line 9 e.g. /subfolder/
- @param string @path
- @return string
*/
function my_cookie_path($path) {
return ”;
}
add_filter( ‘cmplz_cookie_path’, ‘my_cookie_path’);
update_option( ‘complianz_active_policy_id’, 20 );
Thank you again 🙂
Yes, the same identhic code is in the root (wp-content/mu-plugins) and in the subdirectory (blog/wp-content/mu-plugins). I have the cache deactivated in all the 2 sites now and don’t have other plugin for optimization of wordpress. If you want can check, the problem is the same
Hi Jarnovos and thank you for reply. My site is https://www.megapk.it and the subdirectory is https://www.megapk.it/blog . If you navigate from one website to another, you may notice that the consent banner appears again every time, even in incognito mode in the browser.
Thank you very much, from server-side now is all ok. The code script of the banner don’t appear manipulated. Thank you again
Forum: Fixing WordPress
In reply to: WordPress 5.1.1 – can’t add images or custom URLHi, i have try now and don’t have this problem