// functions.php add_image_size( 'sp_cover', 1980, 1200, true ); add_filter( 'image_size_names_choose', 'sp_custom_image_sizes' ); function sp_custom_image_sizes( $sizes ) { return array_merge( $sizes, array( 'sp_cover' => __( 'Rosa cover' ), ) ); }
Warning: Trying to access array offset on null in /home/clients/7f7a8d8eb6e40c50d3548b06c548734d/web/wp-includes/class-wp-query.php on line 3766