* @package ZoTheme * @subpackage Zo Theme * @since 1.0.0 */ $zo_title_size = isset($atts['zo_title_size']) ? $atts['zo_title_size'] : 'h2'; ?> <article id="post-<?php the_ID(); ?> " <?php post_class('news-list'); ?> > <div class="zo-news-header col-md-4 col-lg-4 col-sm-4 col-xs-12"> <div class="zo-news-image zo-news-gallery"><?php zo_archive_gallery(); ?> </div> </div> <div class="zo-news-detail col-md-8 col-lg-8 col-sm-8 col-xs-12"> <ul class="zo-news-meta"> <li class="date"><i class="fa fa-calendar"></i> <span><?php echo get_the_date("d M Y"); ?> </span></li> <li class="tag"><?php the_terms(get_the_ID(), 'category', '<i class="fa fa-folder-o"></i>', ', '); ?> </li> </ul>
if (basename($template) === 'blog-classic.php') { $zo_image_size = 'full'; } else { $zo_image_size = 'zo-blog-medium'; } ?> <article id="post-<?php the_ID(); ?> " <?php post_class('post-teaser'); ?> > <div class="zo-blog-image zo-blog-gallery"> <?php echo zo_archive_gallery($zo_image_size); ?> </div> <div class="zo-blog-detail"> <<?php echo esc_attr($zo_title_size); ?> class="zo-blog-title"><a title="<?php the_title(); ?> " href="<?php the_permalink(); ?> " rel=""><?php the_title();
post_class('post-teaser'); ?> > <div class="zo-blog-image zo-blog-gallery"> <?php echo zo_archive_gallery('full'); ?> </div> <div class="zo-blog-detail"> <h2 class="zo-blog-title"><?php the_title(); ?> </h2> <div class="zo-blog-meta"><?php zo_archive_detail(); ?> </div> <div class="zo-blog-content"> <?php if (zo_archive_gallery()) { echo apply_filters('the_content', preg_replace('/\\[gallery.*ids=.(.*).\\]/', '', get_the_content())); } else { the_content(); } wp_link_pages(array('before' => '<p class="page-links"><span class="page-links-title">' . __('Pages:', 'fptcity') . '</span>', 'after' => '</p>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __('Page', 'fptcity') . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>')); ?> </div> </div> </article>