Hi,
Can you find this piece of code around the line 72.
if ( ! $thumb_image ) {
$thumb_image = get_post_thumbnail_id();
$thumb_img_url = wp_get_attachment_url( $thumb_image, 'full' );
}
$image = sf_aq_resize( $thumb_img_url, 85, 85, true, false );
$image_alt = esc_attr( sf_get_post_meta( $thumb_image, '_wp_attachment_image_alt', true ) );
and replace by this one
if ( ! $thumb_image ) {
$thumb_image = get_post_thumbnail_id();
$thumb_img_url = wp_get_attachment_url( $thumb_image, 'full' );
}
$thumb_link_type = sf_get_post_meta( get_the_ID(), 'sf_thumbnail_link_type', true );
$thumb_link_url = sf_get_post_meta( get_the_ID(), 'sf_thumbnail_link_url', true );
if ( $thumb_link_type == "link_to_url" ) {
$post_permalink = $thumb_link_url;
}
$image = sf_aq_resize( $thumb_img_url, 85, 85, true, false );
$image_alt = esc_attr( sf_get_post_meta( $thumb_image, '_wp_attachment_image_alt', true ) );
-Rui