Home Forums Front-end Issues Field output not showing Reply To: Field output not showing

  • Okay so you should use the following:

    $download = get_field('download');
    if( $download ): ?>
        <a class="button" href="<?php echo esc_url( $download ); ?>">Download File</a>
    <?php endif; ?>

    This would go in the php template file with the other content for the page you wish to add it to.