Custom Nav walker display current menu item children, or siblings on no children

I’ve been messing around / searching for hours and still can’t get this to work, so i’m finally giving in and asking for some help. I’m trying to write a custom walker that shows only the current pages children, or if there are no children display the pages siblings. For example, take the following menu … Read more

Custom Walker: how to get ID in function start_lvl

I am making my first custom walker to build an accordion menu. To start with I used this example: http://bitacre.com/2025/custom-nav-menu-walker-for-wordpress-themes There are two functions. First start_lvl and then start_el. In start_el the ID get’s implemented by $item->ID. Does anybody know how I can do this in start_lvl as well? I need to give the (surrounding … Read more