" <?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 _________________________ --> <?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 ($cmsms_post_video_type == 'selfhosted' && !empty($cmsms_post_video_links) && sizeof($cmsms_post_video_links) > 0) { foreach ($cmsms_post_video_links as $cmsms_post_video_link_url) { $video_link[$cmsms_post_video_link_url[0]] = $cmsms_post_video_link_url[1]; } if (has_post_thumbnail()) { $poster = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'post-thumbnail'); $video_link['poster'] = $poster[0]; } echo '<div class="cmsms_blog_media">' . "\n" . cmsmastersSingleVideoPlayer($video_link) . "\r\t\t" . '</div>' . "\r\t\t"; } elseif ($cmsms_post_video_type == 'embedded' && $cmsms_post_video_link != '') { echo '<div class="cmsms_blog_media">' . "\n\t\t\t" . '<div class="resizable_block">' . "\n\t\t\t\t" . get_video_iframe($cmsms_post_video_link) . "\r\t\t\t" . '</div>' . "\r\t\t" . '</div>' . "\r\t\t"; } } ?> </header> <?php cmsms_heading(get_the_ID()); ?> <footer class="entry-meta"> <?php cmsms_meta(); cmsms_exc_cont(); cmsms_more(get_the_ID()); cmsms_tags(get_the_ID(), 'post', 'page'); ?> </footer> </div> </article> <!--_________________________ Finish Video Article _________________________ -->
} ?> <article id="post-<?php the_ID(); ?> " <?php post_class('format-' . $cmsms_project_format); ?> > <?php cmsms_heading(get_the_ID(), 'project'); if (has_post_thumbnail()) { cmsms_thumb(get_the_ID(), 'post-thumbnail', true, false, true, false, true, true, false); } cmsms_exc_cont('project'); cmsms_more(get_the_ID(), 'project'); ?> </article> <?php } } } pagination(); } ?> </section> </div> </section> <!-- _________________________ Finish Content _________________________ --> <?php