با سلام همون طور که در انجمن آموزش داده شد بنده از فانکشن زیر برای نمایش خودکار تصویر شاخص استفاده کردم. function aldenta_get_post_image($size = 'thumbnail') { global $post; $photos = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($photos) { $photo = array_shift($photos); return wp_get_attachment_image($photo->ID, $size); } else{ return '<img src="'.get_bloginfo('template_url').'/images/default.jpg" border="0" />'; } ret