Nicholas Cheek

LITTLE ROCK WEB DEVELOPER

This will list the child pages, and then list the children of those pages.

foreach ($page->children as $child) {
	echo $child->title;
	echo "<ul>";
		foreach ($child->children as $code) {
		echo "<li><a href='$code->url'>$code->title</a></li>";
		}
	echo "</ul>";
}

LITTLE ROCK WEB DEVELOPER

Living the dream.

nick@nicholascheek.com