Support

Account

Home Forums ACF PRO Show icon if checkbox is checked Reply To: Show icon if checkbox is checked

  • Hi John
    Yes, I think that’s what’s happening.

    I have changed the code to use the value instead of the label, but it’s still showing on all of them?

    <?php $pets = get_field_object('hh_facilities'); 
    if( in_array('pet', $pets) ): ?><i title="Pet Friendly" class="fa fa-paw" aria-hidden="true"></i><?php endif; ?>