Hi! I’ve tried to find a proper solution for your issue, but I was only able to find a workaround… In particular, you’ll have to edit your theme directly, which means that you’ll lose your changes whenever the theme is updated. Anyway, this is what you have to do:
Open the file functions.php
and add the following function in the end (if you’re using a child theme, you can add it in the child’s functions.php
file):
add_filter( 'tc_thumb_html', 'nelio_fix_feat_image', 10, 4 );
function nelio_fix_feat_image( $tc_thumb, $size, $post_id, $custom_thumb_id ) {
if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post_id ) )
return get_the_post_thumbnail( $post_id, $size );
return $tc_thumb;
}
Open the file inc/parts/class-content-post_thumbnails.php
and go to line 55. You should see the following code:
$image = wp_get_attachment_image_src( $_thumb_id, $tc_thumb_size);
if ( false && empty( $image[0] ) )
return array();
Change it to the following:
$image = wp_get_attachment_image_src( $_thumb_id, $tc_thumb_size);
$uses_nelioefi = function_exists( 'uses_nelioefi') &&
uses_nelioefi( $_post_id );
if ( !$uses_nelioefi && empty( $image[0] ) )
return array();
And that’s it! You should now be able to see external featured images.
Let us know if it worked! And, please, don’t forget to rate and/or comment on our plugin.