Reply To: Custom Featured Image Size/Class

Home Forums Support Custom Featured Image Size/Class Reply To: Custom Featured Image Size/Class

#209806
Tom
Lead Developer
Lead Developer

Hi Jessica,

Once the above function is added, you need to tell GP to use that image size instead of the full image.

For example:

add_filter( 'generate_page_header_default_size','generate_change_page_header_size' );
function generate_change_page_header_size()
{
    return 'featured-image';
}

You can also use the Blog add-on to set the exact width and height of your post images in “Customize > Blog > Post Images”.

Hope this helps 🙂