Snippet issue with additional WPML languages
-
Hello and thank you very much for this useful plugin!
I am using it on a multilanguage site and I am facing the issue I will describe shortly. But first here are some specs:
- WordPress 5.3.10
- PHP Version 7.4.25
- Header Footer Code Manager 1.1.15
- WPML Multilingual CMS 4.3.6
I understand that WordPress and WPML are not the latest version. But for the time being I can not upgrade them.
I have created these Snippets:
- Javascript, Specific Pages, Header, Show on All Devices, Active
- Javascript, All Pages, Header, Show on All Devices, Active
Language URL format in WPML is configured to Different languages in directories (https://example.com/ – English, https://example.com/el/ – Greek)
Snippet #1
I have selected the pages I want it to appear. I can see it loading when inspecting the code (CTRL+U), on the English version of the page(s) (eg example.com/contact) but it does NOT appear when I load the Greek version of the same page (example.com/el/contact).I thought there might be an option in HFCM to select the English/Greek page (in Page List), but there is not. So it seems I can’t load this snippet on a language other than English. Am I missing something here, or… ?
Although I am not using any caching plugin, I have tried to force refresh (CTRL+F5) the page just in case, but the issue persists.
Snippet #2
I’m not facing any issues with it, either in English or Greek pages.
- The topic ‘Snippet issue with additional WPML languages’ is closed to new replies.