1

I have categories in my cms.

enter image description here

How do I gets a list of these value into my templates?

Thanks.

1 Answer 1

2

This is all covered in the Craft CMS documentation:

{% for option in entry.<FieldHandle> %}
    Label: {{ option.label }}
    Value: {{ option }} or {{ option.value }}
{% endfor %}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.