* not sure how to put the title, but this is the closest I could think of
I'm using categoies for my navigation and this is working perfectly. Every menu item get it's correct classes (menu-item-parent, etc).
- Home (page)
- Category 1
-- Category 1.1
- - Category 1.2
- Category 2
-- Category 2.1
-- Category 2.2
All posts are attached to at least 1 category and are shown at the related category page.
The first layer is fixed and shown with wp_nav_menu(array('depth'=>1))
The second layer is shown with Advanced Menu Widget at the sidebar.
Although here's the problem; the widget doesn't show the last child when I'm on a page.
So when I go to a page at category 2.1, it doesn't show any menu items at the widget, where as the category page for 2.1 shows the right posts.
My settings (other then default):
- Select Menu: Main Menu
- Show hierarchy: Only related sub-items
- Starting depth: 1
I know that the hierarchy is working, because when I set 'Show hierarchy' to 'Display All', it shows the items with the correct classes (menu-item-parent, menu-item-ancestor, etc).
I've been playing with the settings, but nothing is working as I expect it to do. Not sure if it's a bug or a missing feature, but I would love to see it work.