Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Setting a custom image size for the featured post Reply To: Setting a custom image size for the featured post

#18470
Tom
Keymaster

Hi there,

You could try something like this:

add_filter( 'wpsp_default_image_size', function( $size ) {
    if ( in_array( 'featured-column', get_post_class() ) ) {
        return 'large';
    }

    return $size;
} );

Let me know 🙂