get_pages fiasco
-
$arg = array('child_of' => $page->ID); $children = get_pages($arg); print_r($children);
This function gives me all kind of pages only not the ones I am looking for. I just want to get the children of the current page. What I get seems somewhat random.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_pages fiasco’ is closed to new replies.