Get_pages doesn't return my custom pages
-
Hi,
I’ve created three custom page types in a theme I’m building. I’ve also created a meta box for one of the page types where the user of the theme can enter information into a form. This is working just fine, except I want my meta box to load a couple of select elements that are populated with a list of all pages. I’m using ‘get_pages’ to get a list of all pages, but it doesn’t return the list of custom page types. In fact, if I specify the custom page type in the args array it still can’t seem to find those pages. Is there a step I am missing?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get_pages doesn't return my custom pages’ is closed to new replies.