I was trying to find something that would:
- Display children of a custom menu on the parent page.
- Siblings of a custom menu on sub pages.
This is what I came up with... I am sure it could probably be done cleaner. Enjoy.
Insert this wherever you want to display your menu. Adjust the code structure to suit your build (eg.
- etc)
There is a bug on the 'current-menu' class when using custom post types as the parent menu.