Menu Label is blank when slug is the same
-
Hi All,
I’m running the xili language plugin on our website to make it multilingual. This makes it that I have created a default page with the title CONTACT in both English and Dutch. The are both part of a main page (NL and EN) so in the end it creates the slugs:
https://www.domain.com/nl/contact
and
https://www.domain.com/en/contactNo problem there, slug is unique so WordPress gets it. However, the problem starts when I try to add both pages to a menu. I have created 2 menu’s, one for English and one for Dutch. The correct menu is added based on the language the user is viewing the website in. However, when I add the English version of the contact page to the English menu and the Dutch version of the contact page to the Dutch menu is seems that WordPress only uses the slug after the slash (so, CONTACT) to look up the correct page for the labeling. Because when I view the menu, the link is displayed in the source code but the label is not showing. WordPress doesn’t seem to be able to find the label.
Questions:
– is my assumption correct that WordPress only used the slug after the slash to bind the page to a menu?
– is there a way to solve this problem?Thanks in advance.
- The topic ‘Menu Label is blank when slug is the same’ is closed to new replies.