Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 1 year, 6 months ago.

Assisted by: Bobby.

Author Posts
September 12, 2023 at 11:35 am #14383135

jakobM-4

I'm trying to add a link to an external website in the language switcher.

I followed this link: https://wpml.org/forums/topic/i-want-to-add-custom-link-to-the-language-switcher/ , however it adds a dropdown. I'm trying to show the switcher in the top, like this.

What do I need to modify to achieve this?

Screenshot 2023-09-12 at 12.34.51.png
September 13, 2023 at 7:06 pm #14392409

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

I recommend that you also take a look at the most recent tickets on that topic:
hidden link

Especially the ones from this year, like this one:
https://wpml.org/forums/topic/add-a-custom-link-to-the-language-switcher-and-open-it-in-a-new-window/

Please do note that we currently cannot offer support for custom work which is why we recommend contacting a WPML contractor here: https://wpml.org/contractors/

Regarding the code shared in the ticket you are reviewing, it is indeed created to use a dropdown switcher. See the following documentation on how to edit/create custom switchers

https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/

Let me know your results, please.

The topic ‘[Closed] Add external link to Language switcher’ is closed to new replies.