Hi!
I'm developing a single-page layout theme and look for a way to loop all pages and subpages in their logical order (by menu_order), e.g. show the first page, then all its child pages, then page 2 and so on...
the problem is that wp by defalut seems to give subapges the menu_order of 0 what would all subpages appear at the top of the page list. and i dont want users to set this value manually.
i also tried to loop all parent pages and then check if they have children, but since i need to use query_posts() and there is no "depth" option like in wp_list_pages this didn't worked out.
anyone out there who could help?