Will McLean is a designer and artist working in the Central Coast of NSW where he lives with his wife and 2 children.

Will is a meticulous developer and favours simplicity and clarity within his code. He can’t stand writing things twice so searches for any way to automate. His experiments can be found in the Exercises section of this site.

Will designs within systems. No project is too small for a design system. He favours the unusual, if not, how can he progress? You can read about his work in the Case Studies section of this site.

Updated: November 1, 2017

This is a Knowledge Base post.

Add custom image sizes to the WordPress media upload image size menu

When adding a custom image size in your WordPress functions file using add_image_size() it is not automatically added to your media upload image size dropdown menu. To add your new image size use:

add_filter( 'image_size_names_choose', 'my_custom_sizes' );

function my_custom_sizes( $sizes ) {
    return array_merge( $sizes, array(
    'your-custom-size' => __('Your Custom Size Name'),
) );
}

Source: http://codex.wordpress.org/Plugin_API/Filter_Reference/image_size_names_choose