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:
No 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.
– 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.
Please send more details (links) via the support/contact form of http://dev.xiligroup.com..
I try to reproduce and put both pages (en/contact and nl/contact) in a menu content… both menu items with label are displayed… WP don’t do confusion…
@marcel; thanks for your reply, did you check it in the admin only or @ the front-end as well. My problem is only at the front-end.
@michel; thanks for the suggestion to your own forum. But I’m not sure its a xili problem and I don’t really want to be bouching between 2 support forums.
Let me show some more information:
Screenshot of my English Menu:
(note the URL at the bottom of the browser)
Screenshot of the NL Menu:
(note different slug in the bottom but same names of pages).
The ending result in the source code is:
<li><a href="http://localhost/page/en/contact/"></a></li> <li><a href="http://localhost/page/en/disclaimer/"></a></li>
<li><a href="http://localhost/page/nl/contact/"></a></li> <li><a href="http://localhost/page/nl/disclaimer/"></a></li>
Note that the URL’s are working correct but the labels are blank
- The topic ‘Menu Label is blank when slug is the same’ is closed to new replies.