Site logo

Archived topic

Language flags in the MENU

3 replies · Started by Robert on September 12, 2019

Viewing posts 1–4 of 4

Hi

How could I put just 2 flags on the end of my MENU to change the languages on the website?
- the flags should formward to a guite new websites

Thx
Roberto

Hi there,

which Translation Plugin are you using? I believe they all provide the code to display Language Switchers. Let us know.

Hi

I dont use any Translation Plugin

You would simply create two separate menu items for the different languages. Then you would add your flag icon images in the Menu item labels. Here's an example of adding icons:

https://docs.generatepress.com/article/adding-icons-to-menu-items/

The method shows using FA icons, but the Label accepts any HTML. You would need to source your own images for this.

This archived topic is closed to new replies.