📜  添加特色图片 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:08.404000             🧑  作者: Mango

代码示例1
function fn_add_featured(){
   add_theme_support( 'post-thumbnails' );
   add_image_size( 'post-imge', 730, 380 );
}

add_action('after_setup_theme','fn_add_featured');