$page->parents() Returns a list of all parents and their parents recursively kirby/src/Cms/Page.php#L961 $page->parents(): Kirby\Cms\Pages Return type Kirby\Cms\Pages Parent class Kirby\Cms\Page Example <?php $parents = $page->parents(); foreach($parents as $parent): ?> <h1><?= $parent->title()->html() ?></h1> <?php endforeach ?>