lies-r of Yools DesignStars
6/9/2017 - 11:37 AM

variabel custom field (toon field enkel wanneer het ingevuld is)

variabel custom field (toon field enkel wanneer het ingevuld is)

<?php if( get_field('text_field') ): ?>

<h2><?php the_field('text_field'); ?></h2>

<?php endif; ?>




*****


[insert_php] if( get_field('text_field') ): ?>
 
 <h2><?php the_field('text_field'); ?></h2>
 
<?php endif; ?>
[/insert_php]