Support

Account

Home Forums Add-ons Repeater Field ACF Checkbox display Reply To: ACF Checkbox display

  • Thanks for the idea John! I ended up outputting what each array was defining and then went from there. It worked out great.

    Here’s my code for Professional:

    <?php $enterprise = get_sub_field('feature_software_version'); ?>
    	<?php if ( $enterprise[0] === 'professional') {?>
    		<li><?php the_sub_field('feature_headline'); ?></li>
    											<?php } else {
    }?>

    Here’s my code for Enterprise:

    <?php $enterprise = get_sub_field('feature_software_version'); ?>
    	<?php if ( $enterprise[0] === 'enterprise') {?>
    		<li><?php the_sub_field('feature_headline'); ?></li>
    
    <?php } else {
    }?>

    Then above I just placed some text that reads, “Includes features of Standard‘ and in Enterprise, the same but Standard and Professional.