🎉 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
.
$field->short($chars)
Shortens the field content by the given length
return
(string)
Example
<?= $page->title()->short(10) ?>
↑
Cheat Sheet overview
←
$field->pages()
→
$field->smartypants()
↓
Back to Cheat Sheet section
Top