Tagged: appdev polylang
December 20, 2014 at 1:29 am #11187
Now there’s a small bug with this theme while using Polylang,
I’m using English as my main site language and Chinese as secondary.
I’ve created two top menus, one is default English and another is Chinese, with an extra “-cn” for the permalinks of the pages.
The problem is, if you switch to Chinese in Home page, the menu is still linking to the English menus.
It seems like the Chinese homepage did not get itself into the “Chinese top menu” I’ve associated with it. Only homepage didn’t work though.
So I’ve contacted the Polylang developer, it seems the problem lies within the theme, and he asked me to show you this so you can fix it in the theme to make it works correctly, thanks!December 20, 2014 at 12:42 pm #11191RaghavendraModerator
I checked the theme and everywhere we do specify the theme_location parameter. Pls check the files menu-footer.php, menu-primary.php and menu-mobile.php file and everywhere we do have the theme_location parameter specified. Can you check back with them on this please? ThanksDecember 21, 2014 at 5:02 am #11195
I’ve revert to the plugin dev, after a test, it seems like that is an incorrect usage about wp_nav_menu in the theme.
In Appearance > Menus > Manage location tab: Assign your english menu.
Check if you can display your english menu. Do the same with chinese menu.
The menu won’t display the Chinese menu.
Or in general terms, if you create a new menu set and assign it to the top menu bar, it won’t display it.December 23, 2014 at 2:57 am #11223
Pls share temporary login credentials as a private reply.December 23, 2014 at 3:07 am #11225December 23, 2014 at 11:14 am #11233
The given login information is not working.Kindly recheck it and share.December 23, 2014 at 11:43 am #11235December 23, 2014 at 12:27 pm #11241RaghavendraModerator
Seems to be working now. Able to see two different menus for different language pages as per the setting in Appearance->Menus->Manage Locations.
The issue earlier was that we had a custom menu “One Page” selected in the page edit window under “Custom Primary Menu” option for the home pages. Choosing the menu there will override what you select under Appearance->Menus->Manage Locations window. Pls ensure that we have “WP Default or Auto” selected for a page for this to work right.December 23, 2014 at 1:35 pm #11244December 24, 2014 at 12:35 am #11250
Realized you deactivated all other plugins and didn’t activate it back, well at least inform me next time.
Thanks.December 24, 2014 at 5:48 am #11252
we are extremely sorry for the inconvenience caused to you.
- The forum ‘Appdev Theme Support’ is closed to new topics and replies.