I need to get the pages of a custom post type exactly as they are in the admin panel. Example:
Page1
--subpage1
--subpage2
Page2
Page3
--subpage1
--subpage2
I need this as a loop.
I tried for a few days to do this but no success.
Can anyone help me? Thank you. Neluțu.
Aucun commentaire:
Enregistrer un commentaire