Hello,
I'm trying to use a custom_field to filter out images that are categorised in a repeatable, the problem is the category is within the repeatable and I don't know how to use the custom_field in that way.
I've tried to use an if statement within the repeatable, but because of the limit it's still looping through the other entries and not showing the specific ones it should.
Thanks,
Chris
I'm trying to use a custom_field to filter out images that are categorised in a repeatable, the problem is the category is within the repeatable and I don't know how to use the custom_field in that way.
I've tried to use an if statement within the repeatable, but because of the limit it's still looping through the other entries and not showing the specific ones it should.
- Code: Select all
<cms:pages masterpage='gallery.php' custom_field='category=home'>
<cms:show_repeatable 'gallery' limit='3'>
<figure>
<img src="<cms:thumbnail image width='450' height='450' />" alt="" width="450" height="450" class="rounded">
</figure>
</cms:show_repeatable>
</cms:pages>
Thanks,
Chris