Support

Account

Home Forums General Issues get_field returning null after update Reply To: get_field returning null after update

  • What does: $test = get_field('header-achtergrond'); echo $test; output?

    Assume the field has a value? Is it in a loop or does it need a page/post ID?

    Does your conditional code get triggered?
    `if(get_field(‘header-achtergrond’) == “image”):
    echo ‘hello, we get this far!’;
    endif;