Created
March 10, 2014 08:58
-
-
Save certainlyakey/9461647 to your computer and use it in GitHub Desktop.
Wordpress - register thumbnail size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Main thumbnail size | |
set_post_thumbnail_size( 80, 80, true ); | |
//Custom post thumbnail sizes | |
add_image_size( 'miniposter', 96, 130, true ); //(cropped) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment