WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Page Hierarchy (1 post)

  1. miglioretech
    Member
    Posted 2 years ago #

    Hi WordPressers,

    I'm really surprised this isn't already on the internet, but I have spent hours and hours searching with no luck. I need to create an array (or object) of all the pages in my site, as a page tree. I have tried making a recursive function but it never works out perfectly. If anyone has an example or can help point me in the right direction, it would be greatly appreciated.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic