how to set the featured image on wordpress site code example
Example: add featured image
function fn_add_featured(){
add_theme_support( 'post-thumbnails' );
add_image_size( 'post-imge', 730, 380 );
}
add_action('after_setup_theme','fn_add_featured');