❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$page->dirname()
Returns the full name of the page's directory
return
(string)
Example
<?= $page->dirname() ?>
↑
Cheat Sheet overview
←
$page->depth()
→
$page->diruri()
↓
Back to Cheat Sheet section
Top