Hey,
i have an shortcode on my page with this code to output the field name:
<?php if( get_field('bildungsbereich') ): ?>
<div class="bildungsagent-gruppe">
<span class="bildungsagent-header">
Bildungsbereich
</span>
<div class="bildungsagent-details">
<?php the_field("bildungsbereich"); ?>
</div>
</div>
<?php endif; ?>
Now i added a label to the options like in the screenshot. How can i output the label on the frontend? I tried this: https://wpbeaches.com/output-label-acf-field/
But this gives me the label from the fieldgroup, not from the selection.
Thx for helping me