This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to make the currency switcher visible on your live site using Elementor by placing the shortcode
[currency_switcher format="%code% (%symbol%)"]
. It appears in the editor but not on the live site, despite clearing the cache, disabling WP Rocket, and trying it on a regular page. Solution: We found that the issue was due to having only one currency selected for each language, which is why the switcher didn't show. Once you select more than one currency, the switcher should appear correctly. Please verify if the header currency switcher is now functioning properly on your site.
If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please do not hesitate to open a new support ticket with us for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to make the currency switcher visible on my live site hidden link. I placed the shortcode [currency_switcher format="%code% (%symbol%)"] in Elementor, and it appears in the editor but not on the live site. I have cleared the cache, disabled WP Rocket, and tried placing the switcher on a regular page, but it still doesn't appear.
Symptoms:
The currency switcher is not visible on the live site, and there is no output of the shortcode in the HTML source.
Questions:
Why is the currency switcher not visible on the live site?
What steps can I take to ensure the shortcode outputs correctly on the front end?
Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.
This may be a compatibility issue. So please check you are getting the expected results when enabling the current switcher in Product templates or while calling it using PHP code. Please check the following docs for more details.
Hello
It is not working on live website.
both shortcode and php options are working inside elementor and visible but on the live website they are not visible
Please could you advise currency switchers that have integration with WPML?
I'm Osama from WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please back up your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.