Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are using the Woodmart theme and have created a menu that opens an HTML block with Elementor containing the language switcher widget. However, you cannot click the languages to change them in the language switcher.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Edit the Elementor header template.
2. Add the Shortcode widget to the position where you want the language switcher to appear and insert the following shortcode:

[wpml_language_selector_widget]

3. Navigate to WPML >> Languages >> Custom Language Switchers, select the Enable checkbox, and press the Customize button to customize the switcher as needed.
For more detailed instructions, please visit our documentation on adding language switchers using shortcodes: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/#language-switcher-shortcodes

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. If further assistance is needed, please open a new support ticket at our 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.

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Noman 1 month, 3 weeks ago.

Assisted by: Noman.

Author Posts
March 26, 2025 at 3:53 pm #16863948

fabienK-3

Background of the issue:
I am using the Woodmart theme on my site hidden link. The client wants to add an icon in the megamenu, and when hovering over it, a language switcher should appear. I created a menu that opens an HTML block with Elementor containing the language switcher widget. The functionality works fine. website pass is: pass123

Symptoms:
We can't click the languages to change them in the language switcher.

Questions:

March 27, 2025 at 9:30 am #16867065

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I can see the issue on your site. As you are adding it using Elementor then please follow the below steps:

- Edit the Elementor header template.
- Add the “Shortcode” widget to that particular position where you want to display language switcher and add the below shortcode in it:

[wpml_language_selector_widget]

- Go to WPML >> Languages > Custom Language Switchers and choose the “Enable” checkbox option and press the “Customize” button and you can customize it according to your needs.

Here is a doc for more details: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/#language-switcher-shortcodes

Please let me know if this resolves your issue or if you need further assistance with this issue.

Thank you

lang switcher prob.jpg
Custom lang switcher button.jpg
March 27, 2025 at 5:56 pm #16869992

fabienK-3

Hello,
i already done that please find attached screenshots

Screenshot 2025-03-27 195455.png
Screenshot 2025-03-27 195527.png
March 30, 2025 at 5:30 am #16876008

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay, I was off during the weekend (Friday-Saturday).

I visited your site and it seems the language switcher link is working correctly now. Could you please confirm if the language switcher issue is solved or if you need further assistance with this issue.

Thank you for your cooperation and patience