Home › Forums › Support › Custom Featured Image Size/Class › Reply To: Custom Featured Image Size/Class
July 14, 2016 at 5:26 pm
#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 🙂