Skip to content

Kirby 4.8.0

$page->diruri()

Returns the directory path relative to the content root (including optional sorting numbers and draft directories)

$page->diruri(): string

Return type

string

Parent class

Kirby\Cms\Page

Example

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