Skip to content

Instantly share code, notes, and snippets.

@donini
Created September 24, 2016 03:09
Show Gist options
  • Save donini/020341e40f0cc97ef266433293666865 to your computer and use it in GitHub Desktop.
Save donini/020341e40f0cc97ef266433293666865 to your computer and use it in GitHub Desktop.
Using different sizes of images
<?php
add_theme_support( 'post-thumbnails' );
add_image_size( 'description-thumbnail', '385', '224' );
add_image_size( 'description-medium', '385', '224' );
add_image_size( 'description-large', '385', '224' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment