1 2 3 4 5
// in functions.php if ( function_exists( 'add_image_size' ) ) { // set image size here add_image_size( 'homepage-thumb', 300, 9999 ); }