Hello,
With the example below in mind, do you know how I might get the first tag in a field with a comma separated list of tags? The methods that I thought would work are giving me errors that I’m struggling to solve.
Thank you for your time
<h2>Tags</h2>
<ul>
<?php foreach ($page->tags()->split(',') as $tag): ?>
<li><?= $tag ?></li>
<?php endforeach ?>
</ul>