Skip to content

Instantly share code, notes, and snippets.

@ianthompson
Last active July 10, 2016 15:37
Show Gist options
  • Save ianthompson/aa34d7e3965ca4045ddc089819106389 to your computer and use it in GitHub Desktop.
Save ianthompson/aa34d7e3965ca4045ddc089819106389 to your computer and use it in GitHub Desktop.
Create additional images in WordPress
add_image_size( 'sidebar', 120, 120, true ); // Hard Crop Mode
add_image_size( 'homepage', 220, 180 ); // Soft Crop Mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment