Wow this is amazing… thank you sushicodeur and everyone else for your hard work!
One issue I have found is if the item (page/category etc) you are visiting appears in multiple trees it will list all trees in the menu.
For example with the following custom menu…
PARENT 1 — PARENT 2 — PARENT 3
ITEM A —– ITEM B —– ITEM C
ITEM D —– ITEM D —– ITEM F
ITEM G —– ITEM H —– ITEM I
… the walker that everyone has so kindly worked on will generate a tree showing all the children (and parents) of any parent which contains duplicate items, so in the above example, as item D appears as a child twice, a list will be generated like so…
PARENT 1
ITEM A
ITEM D
ITEM G
PARENT 2
ITEM B
ITEM D
ITEM H
If anyone has any suggestions on how to limit the results to just one tree I would be greatly appreciative!