Show thumbnail without hyperlink (disable link of thumbnail)

Content Views helps you to show post’s thumbnail image easily without coding.
By default, thumbnail image with hyperlink to the post will be shown. To show thumbnail image without link, please add this code to file functions.php of your active theme:

// Content Views Pro - Show thumbnail without hyperlink
add_filter( 'pt_cv_field_thumbnail_nolink', 'cvp_theme_field_thumbnail_nolink' );
function cvp_theme_field_thumbnail_nolink( $args ) {
	global $pt_cv_id;
	if ( $pt_cv_id === 'VIEW_ID' ) {
		$args = true;

	return $args;

Replace VIEW_ID with ID of the View which you want to apply

To apply it for all Views, replace

$pt_cv_id === 'VIEW_ID'



Best regards,