$page->isDescendantOfActive() Checks if the page is a descendant of the currently active page kirby/src/Cms/Page.php#L682 $page->isDescendantOfActive(): bool Return type bool Parent class Kirby\Cms\Page Example <?php if($page->isDescendantOfActive()): ?> This page is a descendant of the currently active page. <?php endif ?>