Skip to content

Instantly share code, notes, and snippets.

@mwhiteley16
Created October 13, 2023 13:28
Show Gist options
  • Save mwhiteley16/bb13ca9423d770bcd50778204cb2ac68 to your computer and use it in GitHub Desktop.
Save mwhiteley16/bb13ca9423d770bcd50778204cb2ac68 to your computer and use it in GitHub Desktop.
Camille Styles Image Sizes
/**
* Register custom thumbnail sizes.
*/
add_image_size( 'cs-square', 800, 800, true );
add_image_size( 'cs-square-small', 400, 400, true );
add_image_size( 'cs-landscape', 592, 396, true );
add_image_size( 'cs-portrait', 592, 741, true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment