Support

Account

Home Forums General Issues Outputting checkboxes as unordered list Reply To: Outputting checkboxes as unordered list

  • Gotcha. Okay that makes more sense. LOL. So, I had tried putting it on the template before with no luck. Now I get my UL dot, but no values are pulled in. My HTML is:

    <h3>Website Features</h3>
    <?php
    $site_features = get_field('site_features');
    if( $site_features ): ?>
    <ul>
        <?php 
    foreach( $site_features as $site_feature ): ?>
            <li><?php echo $site_feature; ?></li>
        <?php endforeach; ?>
    </ul>
    <?php endif; ?>

    And, I get this: