Hi, I don’t seem to be able to get this working using the following:
<?php if ( get_field( 'featured' ) ): ?>
<div class="featured">
<?php else: ?>
<div class="not-featured">
<?php endif; ?>
<div class="not-featured">
Is outputted if the featured True/False field is checked or not.
Any ideas what I’m doing wrong?
Cheers.