Support

Account

Home › Forums › Front-end Issues › get_field doesn't work in frontend › Reply To: get_field doesn't work in frontend

  • Hi,

    if you’re trying to get the custom field value you should just echo it like this:

    <?php 
        $var = get_the_field('your-custom-field');
    ?>
    <p><?php echo $var; ?></p>
    

    Does it help?