I am using this code on a parent page to display my child pages as posts:
Question: How do I keep this from showing sub-sub pages? I only want it to show the first level of sub pages, and nothing else.
I went to look at get_page() to see about ‘parent’ or ‘depth’ but it is not working for me.
- The topic ‘Restricting child pages’ is closed to new replies.