function blox_loop_regular($options) { $options = array_merge(array('overlay' => 'none', 'excerpt' => 'nocontent', 'readmore' => '', 'grid' => '4'), $options); global $post, $layout_sidebar; $crop_width = 795; if (isset($layout_sidebar) && $layout_sidebar == 'full') { $crop_width = 1070; } $post_format = get_post_format(); $post_format = $post_format != '' ? $post_format : 'standard'; ?> <article itemscope itemtype="http://schema.org/BlogPosting" <?php post_class('entry fit-video format-' . $post_format); ?> > <?php echo hover_featured_image(array('overlay' => $options['overlay'], 'width' => $crop_width, 'height' => 0)); ?> <div class="medium-content"> <div class="entry-title"> <h2 itemprop="headline"> <a itemprop="url" href="<?php echo permalink(); ?> "><?php the_title(); ?> </a> </h2> </div> <ul class="entry-meta list-inline"> <li itemprop="datePublished" class="meta-date"><?php echo date_i18n(get_option('date_format'), strtotime(get_the_date())); ?> </li> <li itemprop="author" class="meta-author"><?php echo __("By ", "themeton") . get_author_posts_link(); ?> </li> <li itemprop="keywords" class="meta-category"><?php echo __('In', 'themeton') . ' ' . get_the_category_list(', '); ?> </li> <li itemprop="comment" class="meta-comment"><?php echo comment_count_text(); ?> </li> <li class="meta-like"><?php echo get_post_like(get_the_ID()); ?> </li> </ul> <?php blox_post_content(array('excerpt' => $options['excerpt'], 'readmore' => $options['readmore'])); ?> </div> </article> <?php }
</h1></div> <ul class="entry-meta list-inline"> <li itemprop="datePublished" class="meta-date"><?php echo date_i18n(get_option('date_format'), strtotime(get_the_date())); ?> </li> <li itemprop="author" class="meta-author"><?php echo __("By ", "themeton") . get_author_posts_link(); ?> </li> <li itemprop="keywords" class="meta-category"><?php echo __('In', 'themeton') . ' ' . get_the_category_list(', '); ?> </li> <li itemprop="comment" class="meta-comment"><?php echo comment_count_text(); ?> </li> <li class="meta-like pulse"><?php echo get_post_like(get_the_ID()); ?> </li> <?php $tags_list = get_the_tag_list('', ' '); if ($tags_list) { echo '<li itemprop="keywords" class="meta-tag">'; _e('Tagged: ', 'themeton'); printf('%2$s', '', $tags_list); echo '</li>'; } ?>