Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if field is filled out acf

<?php if( get_field('field_name') ): ?>
	<p>My field value: <?php the_field('field_name'); ?></p>
<?php endif; ?>
Source by www.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #field #filled #acf
ADD COMMENT
Topic
Name
5+6 =