" <?php post_class(); ?> > <?php $cmsms_testimonial_author = get_post_meta(get_the_ID(), 'cmsms_testimonial_author', true); $cmsms_testimonial_author_link = get_post_meta(get_the_ID(), 'cmsms_testimonial_author_link', true); $cmsms_testimonial_company = get_post_meta(get_the_ID(), 'cmsms_testimonial_company', true); echo '<div class="cl"></div>' . "\n" . '<blockquote>'; the_content(); echo '</blockquote>' . "\n" . '<div class="cmsms_author_wrap">'; if ($cmsms_option[CMSMS_SHORTNAME . '_testimonial_post_author_avatar'] && has_post_thumbnail() != '') { echo '<figure class="tl_author_img">' . get_the_post_thumbnail(get_the_ID(), 'thumbnail', array('alt' => cmsms_title(get_the_ID(), false), 'title' => cmsms_title(get_the_ID(), false), 'style' => 'width:70px; height:70px;')); echo '</figure>' . "\n"; } cmsms_tl_descr(get_the_ID(), 'post'); echo '</div><div class="divider"></div>'; echo '<footer class="entry-meta">'; cmsms_post_date('testimonial', 'post'); if (!post_password_required()) { echo cmsms_comments('post', 'testimonial'); } cmsms_tl_cat(get_the_ID(), 'tl-categs', 'post'); echo '</footer>'; ?> </article> <?php if ($cmsms_option[CMSMS_SHORTNAME . '_testimonial_post_nav_box']) { echo '<aside class="project_navi">' . "\n\t"; next_post_link('%link'); previous_post_link('%link');
post_class(); ?> > <?php cmsms_tl_cat(get_the_ID(), 'tl-categs', 'page'); if (!post_password_required()) { echo cmsms_comments('page', 'testimonial'); } cmsms_post_date('testimonial', 'page'); echo '<div class="cl"></div>' . "\n" . '<div class="tl-content_wrap">' . "\n\t" . '<div class="tl-content">' . "\n\t\t" . '<blockquote>' . theme_excerpt(60, false) . '</blockquote>' . "\n\t" . '</div>' . "\n" . '</div>' . "\n"; if ($cmsms_option[CMSMS_SHORTNAME . '_testimonial_page_author_avatar'] && has_post_thumbnail() != '') { echo '<figure class="tl_author_img">' . get_the_post_thumbnail(get_the_ID(), 'thumbnail', array('alt' => cmsms_title(get_the_ID(), false), 'title' => cmsms_title(get_the_ID(), false), 'style' => 'width:50px; height:50px;')); echo '</figure>' . "\n"; } cmsms_more(get_the_ID(), 'testimonial'); cmsms_tl_descr(get_the_ID(), 'page'); ?> </article> <!--_________________________ Finish Testimonial Article _________________________ --> <?php } echo '</section>' . "\n"; pagination(); echo '</div>' . "\n\t"; } $wp_query = null; $wp_query = $temp; wp_reset_query(); echo '<div class="entry">' . "\n\t"; if (have_posts()) {