Created
September 3, 2012 18:39
-
-
Save darbyfrey/3612003 to your computer and use it in GitHub Desktop.
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
// From ~ line 12 of httpdocs/wp-content/themes/1344718317_coders-theme.tmp/includes/theme-init.php | |
// This theme uses post thumbnails | |
if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9 | |
add_theme_support( 'post-thumbnails' ); | |
set_post_thumbnail_size( 298, 255, true ); // Normal post thumbnails | |
add_image_size( 'post-thumbnail-xl', 668, 315, true ); // Portfolio Extra Large Thumbnail | |
add_image_size( 'slider-post-thumbnail', 940, 435, true ); // Slider Thumbnail | |
add_image_size( 'portfolio-post-thumbnail', 298, 185, true ); // Portfolio Thumbnail | |
add_image_size( 'portfolio-post-thumbnail-small', 218, 135, true ); // Portfolio Small Thumbnail | |
add_image_size( 'portfolio-post-thumbnail-large', 458, 275, true ); // Portfolio Large Thumbnail | |
add_image_size( 'portfolio-post-thumbnail-xl', 538, 315, true ); // Portfolio Extra Large Thumbnail | |
add_image_size( 'small-post-thumbnail', 138, 138, true ); // Small Thumbnail | |
add_image_size( 'custom-thumbnail', 428, 163, true ); // Custom Thumbnail | |
add_image_size( 'research-thumbnail', 298, 173, true ); // Research Thumbnail | |
add_image_size( 'solutions-thumbnail', 218, 146, true ); // Solutions Thumbnail | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment