Reply To: Avoid using original image for featured header image?

Home Forums Support Avoid using original image for featured header image? Reply To: Avoid using original image for featured header image?

#204088
Tom
Lead Developer
Lead Developer

Try adding your add_image_size into a function like this:

add_action( 'after_setup_theme','generate_add_custom_image_size' );
function generate_add_custom_image_size()
{
    add_image_size( 'DFX-Header', 1100, 1100, false );
}

That might do it 🙂