V
V
Victoria2020-09-23 13:52:41
User navigation
Victoria, 2020-09-23 13:52:41

How to make menu for wordpress for other languages?

Hello. The site has a main language, there were translations into 2 other languages. Site on wordpress 5.5.1
Need to create a menu for 2 other languages. I go into the widgets and when choosing positions for the main menu of English, then only the positions of the main language come out. How then to choose, put links to English positions manually?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ihor, 2020-09-24
@i_sova

1. Создать 2 меню - англ и русское
2. Подключить их с проверкой 

if (get_locale() == 'en_GB') {
   wp_nav_menu() ....
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question