$page->id() Returns the Page Id kirby/src/Cms/Page.php#L511 $page->id(): string Return type string Parent class Kirby\Cms\Page Example <?= $page->id() ?>