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