<?php if(in_array('TERM', get_field('FIELD'))) { ?> <?php } elseif (in_array('TERM', get_field('FIELD'))) { ?> <?php } else { ?> <?php } ?>