Reply To: Featured Image Default Size on Single Post

Home Forums Support Featured Image Default Size on Single Post Reply To: Featured Image Default Size on Single Post

Home Forums Support Featured Image Default Size on Single Post Reply To: Featured Image Default Size on Single Post

#233803
Tom
Lead Developer
Lead Developer

Something like this is all you need:

add_filter( 'generate_page_header_default_size','generate_change_default_image_size' );
function generate_change_default_image_size()
{
    return 'medium';
} 

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/