[Resolved] [Plugin: Advanced Custom Fields] Conditionals
I need to make a conditional for one custom field. Let’s say that I created a custom post called “price”. If is empty I want to hide de DIV container “custom_price”, if not I want to show it. Something like this:
<div class="custom_price">Price: <?php the_field('the_price'); ?></div>
- The topic ‘[Resolved] [Plugin: Advanced Custom Fields] Conditionals’ is closed to new replies.