I'm using an ACF Radio Button field to toggle the display of code based on ticking "yes" or "no". Like this:
<?php if (get_field('toggle') == 'no'): ?>
some stuff here
<?php elseif(get_field('toggle') == 'yes'): ?>
some other stuff here
<?php endif; ?>
But what I'd really like is to use the True/False field and have it display some default code when unchecked, and different code when checked. I'm just not sure how to adapt the code above to reflect that use of the True/False field. Any ideas? Thanks in advance.