Skip to content

Instantly share code, notes, and snippets.

@raaar
Created February 12, 2014 14:26
Show Gist options
  • Save raaar/8956459 to your computer and use it in GitHub Desktop.
Save raaar/8956459 to your computer and use it in GitHub Desktop.
function add_custom_sizes() {
add_image_size( 'thumb-16-9', 480, 273, true );
add_image_size( 'thumb-3-2', 480, 320, true );
add_image_size( 'thumb-1-1', 480, 480, true );
}
add_action('after_setup_theme','add_custom_sizes');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment