Dear @channeldoubler ,
Thank you for reaching out to us.
There are a few issues with WPML and some fixes will be implemented with those issues soon.
However, for now, you can use the following code which will help with your problem.
Please, insert it in the custom JS field, as shown in the following screenshot. https://prnt.sc/t6vny8
var url = window.location.href;
if (url.indexOf(‘/el’) > 0) {return false;}
Let us know if this helps.
Hi. I want to show the greek one in greek and the English one in english.
Now, if I paste this code in the English popup, when clicking to greek it shows no pop at all.
Dear @channeldoubler ,
Thanks for letting us know.
As mentioned we’re working on improving the plugin compatibility, so everything will be fixed with the upcoming releases.
As for the popup not opening: could you choose “all languages” from your admin side and then create a new popup which will open for all languages?
And then, inside the popup, please, use the following code.
var url = window.location.href;
if (url.indexOf(‘/el’) <= 0) {return false;}
Please, let us know if it works.
Dear @channeldoubler ,
Hope you’re fine.
We are wondering if you tried the solution given and whether it helped you.
Dear @channeldoubler ,
We haven’t heard from you for 2 days.
We’re marking this thread as resolved.
Please, submit a new support thread if you need more help.