Add_image_size to your theme

Adding this PHP code to your functions.php will allow for additional images sizes within your theme.

 

 

function mytheme_setup() {
add_image_size('featured-thumbnail',640,320, true);
add_image_size('x-large',800,800, false);
}
add_action( 'after_setup_theme', 'mytheme_setup' );

Be Sociable, Share!

Leave a comment