Adding widget to sidebar which contains current page's submenu
Need to insert the sub menu of the current page into the current page's sidebar.
Is this possible?
What I'm interested in developing would be a menu that looks like this:
menuItem1 => subitem1, subitem2
menuItem2 => subitem3, subitem4
Navigate to Item1 page where the sidebarA contains the menu links sub1, sub2.
Navigate to Item2 page, sidebarA contains menu links sub3, sub4.
Any suggestions on how to do this either programmatically or with a widget?
Thank you.