Set up site to use new WordPress image sizes

WordPress is adding new image sizes in version 5.3, so our custom image
size is redundant. Keeping it in for back compat, plus older images
will still need to be retrieved using the old image size name, or else
the original size will be used in lieu of a correctly sized option.
This commit is contained in:
Robin Cornett
2019-10-22 17:29:46 -04:00
parent a50ce53599
commit b4628b3e36
7 changed files with 51 additions and 21 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ return array(
'choices' => apply_filters(
'displayfeaturedimagegenesis_image_size_choices',
array(
'displayfeaturedimage_backstretch' => __( 'Banner (default)', 'display-featured-image-genesis' ),
'large' => __( 'Large', 'display-featured-image-genesis' ),
'banner' => __( 'Banner (default)', 'display-featured-image-genesis' ),
'large' => __( 'Large', 'display-featured-image-genesis' ),
)
),
'type' => 'select',