Displaying multiple value's Label
I want show Red and Blue on my post page. How to do?
I am not familiar with php and only know how to show single value’s label as your document:
$field = get_field_object(‘field_name’);
$value = get_field(‘field_name’);
$label = $field[‘choices’][ $value ];
Please help me.
- The topic ‘Displaying multiple value's Label’ is closed to new replies.