Home Forums Front-end Issues Can't display dropdown choice Reply To: Can't display dropdown choice

  • Hi @daisuke

    Are you returning a single or multiple value?

    As per the docs

    If it’s a single value, use:
    <p>Color: <?php the_field('color'); ?></p>

    If it’s a multiple value, use:

    $colors = get_field( 'color' );
    // Create a comma-separated list from selected values.
    if( $colors ): ?>
    <p>Color: <?php echo implode( ', ', $colors ); ?></p>
    <?php endif; ?>

    Change color to the name of you ACF field, see if that works.