WordPress 获取附件图片时去除特色图片 Posted on 2012年10月18日2012年10月18日 by 迎迎 姚 获取一篇文章中上传的所有图片,但是不包括 特色图片: get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image', 'exclude' => get_post_thumbnail_id( $post->ID ), ))) : ?> ID, 'thumbnail-latest'); ?> ?>