Skip to content

Kirby 4.5.0

$page->num()

Returns the sorting number

$page->num(): int|null

Return type

int|null

Parent class

Kirby\Cms\Page

Example

<?= $page->num() ?>