[wp-hackers] Page Hierarchy

Jeremi Bergman jeremib at gmail.com
Thu Nov 19 18:44:36 UTC 2009


Thanks, that's perfect.

Jeremi Bergman
865-622-7134


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.
>
>
> -Otto
> Sent from Memphis, TN, United States
>
>
> On Thu, Nov 19, 2009 at 12:14 PM, Jeremi Bergman <jeremib at gmail.com>
> wrote:
> > Does anyone know of any code snippet that already exists that will give
> me
> > 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
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list