1<?php if ( get_field( 'field_name' ) ): ?>
2
3This is displayed when the field_name is TRUE or has a value.
4
5<?php else: // field_name returned false ?>
6
7This is displayed when the field is FALSE, NULL or the field does not exist.
8
9<?php endif; // end of if field_name logic ?>