wp_attachment_is_image()通过id判断一篇文章是否为图片附件 原文:http://codex.wordpress.org/Function_Reference/wp_attachment_is_image 翻译:黄聪@WP之魂