WordPress - How to change the position of the language switcher?

In this article, you'll see the different methods to change the position of the Weglot language switcher depending on your WordPress website.


1. Add the language switcher to a menu
2. Use the Switcher Editor feature
3. Add the language switcher to a widget
4. The Weglot_here option


You have the possibility to integrate the switcher directly into a menu through your WordPress admin:

In order to do that, go to your WordPress admin dashboard > Appearance > Menus and select the menu where you would like the Weglot Language Switcher to be placed.
Select "Weglot Switcher" on the left panel, check the checkbox, then add it to the menu. Now you can drag and drop the switcher to change the order of the items in the menu:

Finally, click on "Save Changes" and refresh your website. The Weglot switcher is now on your menu.

2. Use the Switcher Editor feature

The switcher editor allows you to move the language switcher in context on your website by dragging and dropping the button on a preview of your website
In order to use it, you can follow this article: How to use the Switcher Editor?

⚠️ Note that your website must be live and accessible in order to be able to use the Switcher Editor

3. Add the language switcher to a widget

You have the possibility to integrate the switcher directly to a widget through your WordPress admin:

In order to do that, go to your WordPress admin Dashboard > Appearance > Widgets
These widget areas depend on the theme you are using. The author of the theme sets these areas.
Select the widget you want and then click on the + icon. It will open a search bar. Then type "Weglot" and select "Weglot Widget":

Refresh your website, you'll see that the Weglot switcher is now in the selected widget area.

4. The Weglot_here option

You can add the code below wherever you want in the source code of your HTML page. The button will appear at this location:

<div id="weglot_here"></div>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us