$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'); echo '</aside>' . "\n"; } if ($cmsms_option[CMSMS_SHORTNAME . '_testimonial_post_share_box']) { echo '<aside class="share_posts">' . "\n\t" . '<h5>' . __('Like this post?', 'cmsmasters') . '</h5>' . "\n"; cmsmsLike(); ?> <div class="fl">
if ($wp_query->have_posts()) { echo '<div class="entry-summary">' . "\n" . '<section class="testimonials">' . "\n"; while ($wp_query->have_posts()) { $wp_query->the_post(); ?> <!--_________________________ Start Aside Article _________________________ --> <article id="post-<?php the_ID(); ?> " <?php 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 _________________________ -->