🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$site->homePage()
Returns the $page object for the home page
return
($page)
Example
<?= $site->homePage()->text() ?>
↑
Cheat Sheet overview
←
$site->hasVisibleChildren()
→
$site->id()
↓
Back to Cheat Sheet section
Top