seen your tweet and thought i’d lend a hand, its been a while since i’ve coded WP – but heres my attempt: http://pastebin.com/MZiycrMe
how i go about it is,
- get all top level pages
- loop around each top level page checking for children
- add all of the above into a multi dimension array
- loop over the multi dimension array to build unordered list
i was going from the top of my head and the WP docs so there might be a bug or two, but the logic is sound..
give me a shout if you want a hand to implement it..
Justen