Everything works fine with this code.
When I chose some page from main menu, I know which is the current_page_item and can make proper styling. But when I chose some page from custom menu the main menu item is no longer with proper styling. How can I set current_page_item for main menu item, when I navigate through custom menu belonging to this main menu item ?
The topic ‘Custom Menus on Different Pages problem’ is closed to new replies.