Hi KSM!
I’ve finally managed to make the plugin work with your theme. Edit the function themify_get_image
in themify/themify-utils.php
. In particular, go to line 3093:
// ...
$out = get_the_post_thumbnail( $post_id, array( $width, $height ) );
}
return $out;
}
/**
* Sets the WP Featured Image size selected for Query Category pages
* @since 1.1.5
*/
function themify_feature_size_page() {
// ...
and add the following piece of code right after return
:
// ...
$out = get_the_post_thumbnail( $post_id, array( $width, $height ) );
}
// If there's an external featured image, use it.
if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post_id ) ) {
// Compute the dimensions of the featured image.
if ( empty( $width ) && empty( $height ) ) {
$width = 800;
$height = 480;
} else if ( empty( $width ) && ! empty( $height ) ) {
$width = $height * 5 / 3;
} else if ( ! empty( $width ) && empty( $height ) ) {
$height = $width * 3 / 5;
}
// Use the external featured image.
$out = get_the_post_thumbnail( $post_id, array( $width, $height ) );
}
return $out;
}
/**
* Sets the WP Featured Image size selected for Query Category pages
* @since 1.1.5
*/
function themify_feature_size_page() {
// ...
And that’s it! I hope this helps you!