WordPress Page Hierarchy (1 post)

  1. miglioretech
    Posted 4 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.


Topic Closed

This topic has been closed to new replies.

About this Topic