$site->childrenAndDrafts() Returns all published and draft children at the same time kirby/src/Cms/HasChildren.php#L46 $site->childrenAndDrafts(): Kirby\Cms\Pages Return type Kirby\Cms\Pages Parent class Kirby\Cms\Site Example <?php foreach ($site->childrenAndDrafts() as $item) { if ($item->isDraft()) { echo $item->title() . ' is a draft'; } echo $item->title() . ' is a published page'; }