Skip Navigation

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

Problem:
You have configured the language switcher for your WordPress site using WPML, but it is not visible in the header.
Solution:
If you're experiencing this issue, we recommend you try adding the language switcher to a custom location by editing your header template and inserting the switcher as a shortcode. For detailed instructions on how to add the switcher using a shortcode, please visit the following guide.

Please note that this solution might be irrelevant if it's outdated or not applicable 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 the issue persists, 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 26 replies, has 0 voices.

Last updated by Osama Mersal 1 month ago.

Assisted by: Osama Mersal.

Author Posts
March 1, 2025 at 9:41 am #16763512

homeP

Background of the issue:
I have configured the language switcher for my WordPress site using WPML, but it is not visible in the header. The site I need help with is hidden link.

Symptoms:
The language switcher is configured but not visible in the header.

Questions:

March 2, 2025 at 1:44 pm #16765609

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting 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.

Please share screenshots of the language switcher settings in the WPML-> Languages page.

Best regards,
Osama

March 2, 2025 at 3:30 pm #16765808

homeP

Hi,

hidden link

hidden link

I have already tried that, unfortunately the language is then in the menu and not in the header
hidden link

March 2, 2025 at 4:47 pm #16765890

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I used the access details from the other ticket and added a language switcher, which worked correctly. (Kindly check the attached screenshot)

Please check it and let me know if it works correctly.

Best regards,
Osama

2025-03-02_18-45-40.png
March 2, 2025 at 5:01 pm #16765909

homeP

Hi,

hmm.. that's wrong and above all you can't switch languages ​​on the home page.

hidden link

March 2, 2025 at 5:03 pm #16765912

homeP

I can do that myself. I don't want the language integrated in the menu but in the header.

Next to the currency. The existing language change will be removed afterwards

hidden link

March 2, 2025 at 5:03 pm #16765913

homeP

AND IN MOBILE IT MUST ALSO BE NEXT TO THE CURRENCY

March 2, 2025 at 5:07 pm #16765915

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

If you want to add the language switcher to a custom location, please edit your header template and add the switcher as a shortcode. Kindly check this guide to know how to add the switcher as a shortcode.

Best regards,
Osama

March 2, 2025 at 5:13 pm #16765919

homeP

Thanks for the instructions, I know it works, but I wrote to you what I've already done.

Is it possible for support to do something instead of always sending instructions that everyone can see for themselves?

March 2, 2025 at 5:17 pm #16765951

homeP

With these instructions you can also clean your ass. These are instructions for IT work with WPML.

These are not instructions for an extension that does not know the plugin.

All instructions can be thrown in the trash

March 2, 2025 at 6:00 pm #16766038

homeP

that is my goal. Desktop look like this

hidden link

and Mobile

hidden link

Thank you 🙂

March 3, 2025 at 7:52 am #16767155

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Here is a hidden link">video that shows the steps of adding the language switcher using shortcode.

Also, you can add the language switcher using the Elementor widget (WPML Language Switcher).

Best regards,
Osama

2025-03-03_09-51-29.png
March 3, 2025 at 8:15 am #16767223

homeP

Hi, thanks for doing this. How do I remove this border line all around and make the arrow white? I looked for that in the settings but couldn't find an option

hidden link

March 3, 2025 at 8:20 am #16767229

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

You can do that using CSS. (hidden link)

Best regards,
Osama

March 3, 2025 at 8:35 am #16767288

homeP

now it works, it was the cache.

Another question, the arrow to the right of the flag, how can I make it smaller? is bigger than the arrow for the currencies

hidden link