Set Image Sizes in WordPress

Categories:

add_theme_support( ‘post-thumbnails’ );

set_post_thumbnail_size( 610, 610, true ); // sets the default featured image dimensions.

add_image_size( ‘theme-blog-vertical’, 405, 500, true );

add_image_size( ‘theme-blog-small-square’, 300, 300, true );

Leave a Reply

Your email address will not be published. Required fields are marked *