sukiwp / popup-trigger-url-for-elementor-pro

Helps you to trigger Elementor Pro's popups (open, close, or toggle) from menus or any kind of link.
10 stars 4 forks source link

Not working with wpml #2

Closed jsuch11 closed 4 years ago

jsuch11 commented 4 years ago

Hi, I used your plugin to set up a popup on a html link, however, when translating the page where I use it, it doesn't show me the popup in that other language.. It actually doesn't show me any popup. It would be great to have the url also for the other language. I use WPML to translate my site.

Thanks again

daviedR commented 4 years ago

Hi @jsuch11

Have you translated the popup as well? The trigger link for each language is different.

For example: You have 2 languages in your WPML: English and French. You have created the popup and the page where you put the trigger link in English. After translating both popup and the page into French, you need to copy the trigger link of the French popup to your French page.

jsuch11 commented 4 years ago

Hi @daviedR, Thanks for the reply. I have indeed translated the popup, but I used WPML and so the French pop up for exemple doesn’t show the links. Based on what your suggesting me, I should duplicate the popup in English, and make it in French. This means they both appear as being in English(the default language) but they are not. Right ?

daviedR commented 4 years ago

So, after you created a popup in English, you could create the French version. So you would have 2 popups: 1 in English and 1 in French.

Since you are using WPML, you can switch between English and French language when on admin pages, right? There should be a language switcher in your admin toolbar.

So you can go to Templates > Popups. And copy the trigger URL for the particular language.

And don't forget to set the Display Conditions on both popups.

jsuch11 commented 4 years ago

Hi @daviedR, Thanks for tutorial, it worked perfectly ! Great support !