have_posts() ) { $posts_count = 0; // custom loop while ( $DT_QUERY->have_posts() ): $DT_QUERY->the_post(); $posts_count++; $post_id = get_the_ID(); $opts = get_post_meta( $post_id, '_dt_testimonials_author', true ); $post_classes = array( 'dt-testimon' ); if ( 1 == $posts_count ) { $post_classes[] = 'first'; } ?>
wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), 'full' ), 'thumb_opts' => array( 'w' => 30, 'h' => 30 ) ), '' ); } if ( $author = get_the_title() ): ?>