Get label from value in radio buttons list fieldtype Ok I know how to list radio buttons and use it to display a particular value:  

{% set newsType = craft.fields.getFieldbyHandle('newsType') %}
{% for option in newsType.settings.options %}
    {% if option.value == 'newsValue' %}
        &lt;h3 class="news-type"&gt;{{  option.label }}&lt;/h3&gt;
    {% endif %}
{% endfor %}


(I am not in an existing entry context.)
So I would like to know if there is a shortcut to directly get this label from the value? Like that syntax :

{% set newsTypeLabel = craft.fields.getFieldbyHandle('newsType').option('newsValue').label) %}
You could make a macro and use that as a "shortcut":

{% macro optionLabel(fieldHandle, optionValue) %}

    {%- set field = craft.fields.getFieldbyHandle(fieldHandle) %}
    {%- for option in field.settings.options %}
        {%- if option.value == optionValue %}
            {{- option.label }}
        {%- endif %}
    {%- endfor %}

{%- endmacro %}
{% import _self as macros %}

&lt;h3&gt;{{ macros.optionLabel('newsType', 'newsValue') }}&lt;/h3&gt;