Skip Navigation

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

Problem:
You are trying to add the WPML menu switcher to the mobile header on your website, but the flags are not appearing side by side with the main theme menu. Instead, they are appearing inside the main theme menu, and the header is not showing up. The WPML widget does not appear on your webpage.
Solution:
First, ensure you have followed the instructions for enabling the language switcher for your mobile menu as detailed here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/. If it still isn't appearing, you may need to implement a custom solution for your mobile menu. Additional instructions can be found here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/.
If the header is still not showing up and the WPML widget does not appear on your webpage, please specify the URL of the page in question and provide any relevant screenshots for further assistance.

If this solution does not resolve your issue or 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. If the problem persists, please open a new support ticket for personalized assistance 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 2 replies, has 0 voices.

Last updated by Kor 2 months ago.

Assisted by: Kor.

Author Posts
February 24, 2025 at 8:12 pm #16743058

alejandroM-48
Site owner

Background of the issue:
I am trying to add the WPML menu switcher to the mobile header on my website: hidden link.

Symptoms:
I expected to see WPML flags appearing side by side with the main theme menu, but instead, they are appearing inside the main theme menu. Additionally, the header is not showing up, and the WPML widget does not appear on my webpage.

Questions:
How can I add the WPML menu switcher widget to the mobile header correctly?
how may i see the flags of language switchet widget side by side with the main menu for mobile version?

February 25, 2025 at 10:01 am #16744855

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for reaching out to us.

The visibility of the language switcher in your mobile menu depends on its setup. If you've followed the instructions on enabling the language switcher for your mobile menu as detailed here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/ , and it still isn't appearing, you may need to implement a custom solution for your mobile menu. Additional instructions can be found here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/ .

Regarding your mention that "the header is not showing up and the WPML widget does not appear on my webpage," could you specify which page you're referring to? It appears fine when I switch languages on this page: hidden link . Please provide the URL of the page in question and any relevant screenshots for further assistance.

February 25, 2025 at 9:09 pm #16748096

alejandroM-48
Site owner

Hi Kor, Thankyou for your time, youre very generous,

My issue is all related to the mobile version of the webpage,
The language switcher is only appearing in the desktop version, but I am not able to see it in the mobile version header.

The wplm widget is not available as a widget, see the picture below

I will deeply appreciate if you don´t send me to read a ton of "documentation", but just help me to make this widget available.

Thankyou

wpml widget not showing .jpg
February 26, 2025 at 12:21 am #16748595

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

February 28, 2025 at 1:12 am #16758589

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I can see that you've already added the language switcher in the mobile menu. However, I noticed that you're displaying so many language switchers. Would you like me to remove these extra language switchers for you?

Screenshot_336.jpg
February 28, 2025 at 9:51 pm #16762909

alejandroM-48
Site owner

Hi Kor!

Thank you for your time! 🤩 I may see now the flags in the mobile version of the webpage.
I just wanted to know, How did you add them?, since I am not able to edit them from the back-end of the Elementor theme.
I see you have enabled the widget option (see picture below), but apparently it is not the option you've implemented. Just in case I need to edit them in the future.

I have already removed the menu of the language switcher that was attached to the main menu. Thank you for offering to do it yourself.

wpml widget not showing2 .jpg
March 1, 2025 at 6:46 pm #16764387

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I did not add them. Did you create the menus following the instructions here? https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/

March 3, 2025 at 8:34 pm #16770808

alejandroM-48
Site owner

Hi Kow,
I might have added this code in the php functions of the theme as a language switcher. (see picture belllow)

But I dont remember if this refers to a language switcher, if it does I guess I will have to remove it.

To dont screw it up, would you be able to remove the part the refers to language switcher?

I think is the last part from line 283 until line 286. What do you think?

wpml language switcher code.jpg
March 3, 2025 at 9:06 pm #16770876

alejandroM-48
Site owner

I already tried removing the php code, and I did not work. The flags still appearing as visible. So this is not the case.

Also in the photo below you may see there is no menu added as a language switcher or as a widget. So, I still dont know how this flags are appearing.

Are you able to find out, knowing you have the credentials of my site with an administrator permission, plus the expertise of WPML supporter?

Thank you for your time Kor you´re very generous.

AWPML .jpg
March 4, 2025 at 1:19 am #16771246

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. The language switcher on the header is added on the Elementor Header template here hidden link

I've removed it for you. Then, I navigated to WPML > Language > Menu language switcher > Added a language switcher over there.

Now the language switcher shows up on both desktop and mobile version. Could you check?

March 11, 2025 at 4:06 am #16799243

alejandroM-48
Site owner

I still need assistance

March 11, 2025 at 5:21 am #16799327

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. May I know what it is about?

March 14, 2025 at 5:10 pm #16818121
alejandroM-48

Hola Kor!

Still me around. 😊
My ultimate goal is to have only the wpml menu widget showing up.
I don't want to see any other bar showing side to side with the menu. This way I may have control of the size and format of the things showing up in the header.

In the first photo of the font end of the webpage you may see there are some flags that I would love to eliminate, as they appear in the front end of the webpage, but I can't see them neither edit them in the backend. See photo "wpml front end"

Here you see I can't see this flags in the back end.
See photo: "wpml back end" when editing the header.

Could you please help me to eliminate these flags to have only the wpml widget available?

Thanks

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/remove-language-switcher-on-the-navigation-menu/

WPML BACK END.jpg
WPML FRONT END.jpg
March 17, 2025 at 3:01 am #16822800

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I'd like you to know that our support policy allows us to take care of only one issue per ticket.

Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.

So I've split your new issue here https://wpml.org/forums/topic/remove-language-switcher-on-the-navigation-menu/ so that we could follow up. As for this ticket, please mark it as resolved.