Forum Replies Created
-
AuthorPosts
-
ddbusterParticipant
Yes, that is what I am after, but to my knowledge I have done nothing “custom” to achieve it!
I am a bit baffled by the different behaviour between the two sites….ddbusterParticipantafter setting $size to large, I wound up copying the underlying code where I needed it…
if ( is_null( $post_id ) )
$post_id = get_the_ID();
$link=true;
$image_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), $size );
$featured_image = ”;
//if link is not specifically excluded, then include
if ( !empty( $image_src ) && $link ) {
$featured_image .= ‘‘;
} elseif ( !empty( $image_src ) ) {
$featured_image .= ‘‘;
}
echo $featured_image;ddbusterParticipantI tried adjusting the featured image size as suggested to “large”.
actual image size is unchanged at 243.594 no matter if set to “medium” or “large”.
Please advise -
AuthorPosts