Home › Forums › Support › modify image-size name on single.php This topic has 3 replies, 2 voices, and was last updated 4 years, 5 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 28, 2019 at 10:57 pm #944387 Colin Hi, it appears the featured image on single.php is added via hooks and using “full”. I would like to change the wp image size “name” to my custom name/dimensions. Could you point me in the right direction for this? Note: This is on single.php not archives. Thanks! June 29, 2019 at 8:34 am #944686 TomLead Developer Lead Developer Hi there, Try this: add_filter( 'generate_page_header_default_size', function( $size ) { if ( is_single() ) { $size = 'your-name-here'; } return $size; } ); Let me know π July 2, 2019 at 6:39 pm #947534 Colin Worked! Thank you! July 3, 2019 at 8:06 am #948039 TomLead Developer Lead Developer You’re welcome π Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In