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