The idea would be to be able to retrieve a sub-menu matching a given page to display it as an aside on page.
As an exemple, let's consider this menu:
- Rock climbing
- About US
So if I'm on the Hiking page I'd want to retrieve Outdoor and all of its sub-items. For this, I figure I would first need to get
menu_item_parent and then filter all items from there.
Or is there a better solution? Currently, the only way I'm seeing is to use classes on all the menu items and filter based on these classes, not optimal…