You can use get_pages( array( 'child_of' => page_id ) )
to get all sub-pages.
Related Posts:
- How to show the view more on my display of pages shortcode
- Check if is on child-page of a particular page
- A check for if is parent page, if has children, if has grandchildren
- Can I have two child pages of different parents with the same name?
- Create a “Dummy” parent page for a hierarchy in page listing?
- Allow only new sub-pages to be created
- Is there a default template file for child pages / subpages?
- Get Permalink for the top level parent of child pages
- Some pages are missing from the Parent Page select in the Editor
- How to display list of child pages of parent page in wordpress?
- Only allow new subpages to be created
- Can’t change parent page
- Show child pages when on a child page
- select a private page as parent for another private page
- WordPress pages with hierarchy
- load common thank you template with different content for different pages
- remove/hide pages from users backend
- List child pages by slug not ID?
- get_pages() & “child_of”
- Combining ‘depth’ with ‘include’ in wp_list_pages()
- Removing Parent Page URL While Keeping the Navigation Intact
- Organizing Your Pages
- Custom page template for multiple pages
- Can a user find a child page?
- Display child pages in sidebar of parent page in wordpress
- Display child pages in a parent page? [closed]
- Redirect page to default subpage
- How to list a page tree?
- Page access only from a specific page in wordpress website
- Keep page hierarchy in wp_list_pages, even if on a child or grandchild
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- How to control display of page lists on sidebar that doesn’t have childrens
- Check if page has subpages
- Exclude child pages args array
- Search anything from a Child and Sub-Pages of their Parent page
- How to get an array of pages ID by some page’s slug and all its children pages in get_posts() function?
- Return true if parent page id matches
- If page or sub page not working as expected
- How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?
- Display grandchild page content on parent page
- Display inner pages like posts.[Like how post excerpt works]
- Childpage title + content on Parent Page
- How to copy specific page content and create child page?
- Pages redirecting to homepage
- Firing page_publish where page is child page
- How to finish this loop?
- displaying child pages in columns when on a parent page
- How to make in post Parent page children page list nummbered
- Woocommerce – Making product pages child of shop
- List of pages – AJAX load more
- How to configure WordPress to handle 75,000 pages?
- What is the difference between $paged and $page?
- multi page password protection
- Change admin startpage to Pages-page?
- Password protected post or page – error message by wrong password?
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- Get Order of Meta Box in a Page/Post
- Check to see if page exists problems
- Modify Page Title before output via wp_page_list
- Custom /page/2/ template (different from index.php)
- Front Page not showing on Pages
- How to incorporate Documentation into wordpress?
- How to have custom tinyMCE buttons break onto next line when too long
- Get all pages that are published
- Add a predefined page to site
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- Programmatically add existing pages and subpages to Appearance Menu
- What is full URL for a post?
- Exclude parent with child pages from WP_Query
- Prioritize visible content – Page speed issue on Google insights
- How can I check user capability when a page loads (via functions.php)?
- Read more on pages WordPress
- Bad pages redirection
- Parent page shows no child content
- Password Protect Pages Not Working
- Can I connect a page to a taxonomy?
- parent page grabbing wrong url for child pages – get_page_uri($pageChild)
- wp_nav_menu: output featured image of each page listing
- Change displayed “page name” to distinguish multiple pages with the same title
- How to transfer a site to hosting?
- Add the same content to multiple pages
- Share a folder with files
- Front Page post mirroring revisions to other pages, constantly updating itself
- Microsoft Security Essentials is blocking my WordPress website in IE11
- Cannot use old slug – it just 301s to site home page
- include exception inside theme for empty widget area
- Add text to the bottom of particular pages
- Access wordpress pages using a self signed shared ssl
- Page loads all pages of the image gallery with pagination
- How to exclude page in pages module
- get id custom tables on current page
- static page with buton that opens collect email form
- Subpage Conditional
- Multiple WordPress Pages
- How to create an user defined page?
- I have over 3000 child pages – but I need a different main page
- How to enable automatic search results in WordPress
- How to make a conditional statement that checks if the page is the child of a certain page?
- Missing page on wordpress “Pages” dashboard [closed]