Support

Account

Home Forums General Issues Layout breaks if field not entered Reply To: Layout breaks if field not entered

  • try changing that if statement to

    
    <?php if( get_field('linkdownload') ) { ?>
    
    				<a class="news-download" target="_blank" href="<?php the_field('linkdownload'); ?>" >Download File</a>
    
    			<?php } ?>