This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to add a flag button for language selection on their website using the Salient theme. They can only get it working in the footer area but not in other places.
Solution:
We recommend adding a language switcher in the top menu by navigating to WPML > Languages > Main Menu Switcher section. From there, you can add a language switcher as explained here: Language Switcher Options.
Additionally, you can add a language switcher anywhere on the site using shortcodes or custom coding. For more details, visit: Adding Language Switchers using PHP and Shortcodes.
If this solution does not apply to your case, or if it seems outdated, we highly 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. Should you need further assistance, please open a new support ticket at WPML support forum.
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.
This topic contains 5 replies, has 1 voice.
Last updated by 3 months ago.
Assisted by: Mihai Apetrei.