Home Forums Backend Issues (wp-admin) Set image as featured image Reply To: Set image as featured image

  • Hi John, thanks a lot! I also tried this but no featured image is shown. I check the featured image with the following code:

    // check if the post or page has a Featured Image assigned to it.
    if ( has_post_thumbnail() ) {
    } ?>

    This is probably a stupid question. But I have defined $value in the functions.php with the following:

    $value = get_field('1_bild', $post_id);

    Is this correct? @John