Good morning users I present a problem with a plugin in WP as I understand this plugin Advanced Custom Fields for WordPress Developers. Customize field in the admin of your page as in this example Create a field according to the steps to show and in the template you show it in these ways:
Basic: <p>Color: <?php the_field('color'); ?></p>
Multiple:
<?php
// vars
$colors = get_field('color');
// check
if( $colors ): ?>
<p>Color: <?php echo implode(', ', $colors); ?></p>
<?php endif; ?>
Or according to this other example
<?php
// vars
$field = get_field_object('color');
$value = $field['value'];
$label = $field['choices'][ $value ];
?>
<p>Color: <span class="color-<?php echo $value; ?>"><?php echo $label; ?></span></p>
It turns out that in none of the cases does it show me the content it does not give an error nor does it throw me the field