Перейти к содержимому Перейти к боковой панели

Помечено: 

Эта тема содержит 0 ответов, имеет 0 voices.

Последнее обновление: leeC-2 2 месяца, 2 недели назад.

При содействии: Dražen.

Автор Сообщения
7 ноября, 2025 в 10:24 дп #17556663

leeC-2

Background of the issue:
I am adding my own custom header on the website that finds the IP of the user and then shows a banner 'I see you speak dutch, switch to dutch here'. I want to know what I can put in my Elementor button so that when the client clicks it, it goes to the language of that page. I asked ChatGPT and it told me to use this shortcode in my button [wpml_url language="nl"].

Symptoms:
If I use the shortcode [wpml_url language="nl"], my page goes to: about:blank#blocked.

Questions:
What can I put in my Elementor button to switch to the language of that page?