Created
February 17, 2014 19:01
-
-
Save ajmorris/9056793 to your computer and use it in GitHub Desktop.
example add_theme_support
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
if ( function_exists( 'add_theme_support' )) { | |
add_theme_support( 'post-thumbnails' ); | |
// Add our image sizes | |
add_image_size( 'slider-thumb', 500, 372, true ); | |
add_image_size( 'small-slider-thumb', 300, 174, true ); | |
add_image_size( 'post-thumb', 820, 320, true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment