کدی که توی پست قبلی نوشتم شاید یکم درهم برهم بنظر میرسه. کد زیر هم همون کار رو میکنه: (خواندن و نمایش فایل های ضمیمه شده پست) <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID ); $attachments = get_posts( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { echo '<li>'; echo wp_get_attachment_image( $attachment->ID, 'full' ); echo '<p>'; echo apply_filters( 'the_titl