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

#18623
Tom
Keymaster

What happens if you remove the width/height options you have set in the list settings right now and then do this?:

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

    return 'medium'
} );