Viewing 1 replies (of 1 total)
  • Hi,

    What i decided to do was put it grab the featured image as a text value a variable like this:

    $relatedImage = kd_mfi_get_the_featured_image( 'featured-image-2', 'services' );

    and then do a check like this:

    <?php if($relatedImage != '' ) : ?>

    this worked for me

Viewing 1 replies (of 1 total)

The topic ‘Check if has Image’ is closed to new replies.