❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$files->nth($n)
Returns the nth file in the collection.
return
($file)
Example
<?= $page->files()->nth(3)->filename() ?>
↑
Cheat Sheet overview
←
$files->not()
→
$files->offset($offset)
↓
Back to Cheat Sheet section
Top