[wp-hackers] Page Hierarchy
jeremib at gmail.com
Thu Nov 19 18:44:36 UTC 2009
Thanks, that's perfect.
On Thu, Nov 19, 2009 at 1:36 PM, Otto <otto at ottodestruct.com> wrote:
> get_pages gives you an array of the pages. It's not tree-like, but you
> can create a custom Walker for it, if you want to make it tree like.
> wp_list_pages does just what you asked for, outputs a unordered list.
> It can do a tree like list, if you like.
> Sent from Memphis, TN, United States
> On Thu, Nov 19, 2009 at 12:14 PM, Jeremi Bergman <jeremib at gmail.com>
> > Does anyone know of any code snippet that already exists that will give
> > either an multi dimensional array, or a ul of all pages and their page
> > hierarchy?
> > Thanks
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers