ben-g
9/8/2017 - 8:22 PM

Only displays link text if there is a link to show

Typical check and show acf function. Only the field it is checking is inside of a link.

<?php if( get_field('link') ): ?>
									<li><a href="<?php the_field('link'); ?>" target="_blank">On Campus Program</a></li>
									<?php endif; ?>