I have a field isotope
. It's a dropdown field with a single word text input. Only one value (out of 6) can be assigned to an entry. It is not a tag. It is not a category.
I want to create a button for each value within the isotope
field.
{% for button in entry.isotope %}
<button class="button" data-filter="{{button.title}}">{{button.title}}</button>
{% endear %}
This is wrong and generates the error Variable "entry" does not exist
. I know this is basic, but I am obviously missing something.