Support

Account

Home Forums ACF PRO Add value as classes checkbox Reply To: Add value as classes checkbox

  • 
     <?php
    $field = get_field('equipement');
    if( $field ): ?>
    <ul>
    	<?php foreach( $field as $value ): ?>
    		<li class="<?php echo $value; ?>"><?php echo $value; ?></li>
    	<?php endforeach; ?>
    </ul>
    <?php endif; ?>