seantrant
7/15/2016 - 4:41 PM

If custom field exists

If custom field exists

<?php if( get_field('field_name') ): ?>
	<p>My field value: <?php the_field('field_name'); ?></p>
<?php endif; ?>