Calling Subpage Content
I’m using WP as a CMS for my client and have set up an about page. In that about page, I’ve set up 3 subpages that are individual staff bios. I know how to call the content of a page, but I need to dynamically call all the subpages of my about page, and return their content so I can display them dynamically.
I’m NOT trying to list the subpages with wp_list_pages function. I don’t want links to the pages, I want the actual pages.
I’m not doing posts as categories for the sake of the client. I want to keep the layout very simple. So they can edit the staff pages as a subpage of the about page.
all I really need is to return each subpage’s ID to an array.
- The topic ‘Calling Subpage Content’ is closed to new replies.