Don’t know why I wasn’t making this more simple. Crossing over between themes.
To make this edit remove all the // comments we added to content.php, content-page.php, and content-archive.php. This brings us back to how it all was original set.
Now go to your functions.php and find:
if ( ! function_exists( 'ct_founder_featured_image' ) ) {
function ct_founder_featured_image() {
global $post;
$featured_image = '';
if ( has_post_thumbnail( $post->ID ) ) {
if ( is_singular() ) {
$featured_image = '<div class="featured-image">' . get_the_post_thumbnail( $post->ID, 'full' ) . '</div>';
} else {
$featured_image = '<div class="featured-image"><a href="' . esc_url( get_permalink() ) . '">' . get_the_title() . get_the_post_thumbnail( $post->ID, 'full' ) . '</a></div>';
}
}
$featured_image = apply_filters( 'ct_founder_featured_image', $featured_image );
if ( $featured_image ) {
echo $featured_image;
}
}
}
Here you will see:
if ( is_singular() ) {
$featured_image = '<div class="featured-image">' . get_the_post_thumbnail( $post->ID, 'full' ) . '</div>';
}
All we want to do is comment out:
$featured_image = '<div class="featured-image">' . get_the_post_thumbnail( $post->ID, 'full' ) . '</div>';
and change it to:
//$featured_image = '<div class="featured-image">' . get_the_post_thumbnail( $post->ID, 'full' ) . '</div>';
This should only disable the image for the featured-image on single posts.