Skip to content

Instantly share code, notes, and snippets.

@ckschmieder
Created March 21, 2017 03:53
Show Gist options
  • Save ckschmieder/2f0af80151b49fa24c1dcddefc656fd4 to your computer and use it in GitHub Desktop.
Save ckschmieder/2f0af80151b49fa24c1dcddefc656fd4 to your computer and use it in GitHub Desktop.
thumbnail sizes for randj
function child_theme_setup() {
add_image_size( 'post-index-thumb', 370, 278, true );
add_image_size( 'post-grid-thumb', 280, 280, true );
add_image_size( 'post-featured-img', 870, 580, true );
add_image_size( 'portfolio-featured-img', 761, 456, true );
}
add_action( 'after_setup_theme', 'child_theme_setup', 11 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment