Zum Inhalt springen Zur Seitenleiste springen

Schlagwörter: 

Dieses Thema enthält 0 Antwort, hat 0 voices.

Zuletzt aktualisiert von masaloK Vor 10 Monaten, 1 Woche.

Assistiert von: Bruno Kos.

Autor Beiträge
Dezember 4, 2024 um 6:27 a.m. #16474403

masaloK

Background of the issue:
I am using Cookiebot as our consent managing platform and we always receive an error message when scanning the website, because the wp-wpml_current_language is loaded prior to the users consent. It is really important for us to set the cookie after the consent by making it not a functional but a "preferences" cookie - Cookiebot recommends using the following script ( ).

Symptoms:
Error message when scanning the website with Cookiebot because the wp-wpml_current_language is loaded prior to user consent.

Questions:
Can you help me which file to modify or where the script has to go in order to work?
Is there a way to fully deactivate the "current language" function and instead just set a default language and have WPML not set this cookie?