| Server IP : 103.82.32.14 / Your IP : 216.73.217.55 Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : lonmakmf ( 524) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/lonmakmf/public_html/wp-content/themes/origamiez/ |
Upload File : |
<li <?php post_class(array('clearfix')); ?>>
<article class="entry-item clearfix">
<?php if(is_sticky(get_the_ID())): ?>
<?php endif; ?>
<div class=" row">
<?php
$size_of_col_left = (int) get_theme_mod('size_of_thumb_col_on_blog_page', 2);
$size_of_col_right = 12 - $size_of_col_left;
$col_1_class = "col-sm-{$size_of_col_left}";
$col_2_class = "col-sm-{$size_of_col_right}";
$thumbnail_size = 'thumbnail';
$blog_style = get_theme_mod('taxonomy_thumbnail_style', 'thumbnail-left');
if('thumbnail-full-width' == $blog_style){
$thumbnail_size = 'origamiez-blog-full';
$col_1_class = 'col-xs-12';
$col_2_class = 'col-xs-12';
}
if (has_post_thumbnail()):
$is_enable_lightbox = (int)get_theme_mod('is_enable_lightbox', 1);
?>
<div class="entry-thumb <?php echo esc_attr($col_1_class); ?>">
<?php
if($is_enable_lightbox):
$image_lightbox_size = apply_filters('origamiez_get_blog_featured_image_for_lightbox', 'origamiez-lightbox-full');
$image_lightbox = origamiez_get_image_src(get_the_ID(), $image_lightbox_size);
?>
<a href="<?php echo esc_url($image_lightbox); ?>" title="<?php the_title(); ?>" class="image-overlay origamiez-lighbox">
<?php else: ?>
<a href="<?php the_permalink();?>" title="<?php the_title(); ?>" class="image-overlay">
<?php endif;?>
<?php the_post_thumbnail($thumbnail_size, array('class'=> 'img-responsive', 'title' => esc_attr(get_the_title()))); ?>
<?php if(1 == (int)get_theme_mod('is_enable_hover_effect', 1)): ?>
<div class="overlay"></div>
<span class="overlay-link"></span>
<span class="fa fa-plus"></span>
<?php endif;?>
</a>
</div>
<?php endif; ?>
<div class="entry-summary <?php echo (has_post_thumbnail()) ? $col_2_class : 'col-sm-12'; ?>">
<h3 class="clearfix">
<a class="entry-title" href="<?php the_permalink(); ?>" class="entry-content"><?php the_title(); ?></a>
</h3>
<p class="metadata">
<?php
$is_show_author = (int)get_theme_mod('is_show_taxonomy_author', '0');
if($is_show_author):
?>
<?php get_template_part('parts/metadata/author', 'blog'); ?>
<?php get_template_part('parts/metadata/divider', 'blog'); ?>
<?php else:?>
<?php get_template_part('parts/metadata/author'); ?>
<?php endif;?>
<?php if (1 == (int)get_theme_mod('is_show_taxonomy_datetime', '1')): ?>
<?php get_template_part('parts/metadata/date', 'blog'); ?>
<?php get_template_part('parts/metadata/divider', 'blog'); ?>
<?php endif; ?>
<?php if (1 == (int)get_theme_mod('is_show_taxonomy_comments', '1')): ?>
<?php get_template_part('parts/metadata/comments', 'blog'); ?>
<?php get_template_part('parts/metadata/divider', 'blog'); ?>
<?php endif; ?>
<?php if (1 == (int)get_theme_mod('is_show_taxonomy_category', '1') && has_category()): ?>
<?php get_template_part('parts/metadata/category', 'blog'); ?>
<?php endif; ?>
</p>
<div class="entry-content">
<?php the_excerpt(); ?>
</div>
<?php if (1 == (int)get_theme_mod('is_show_readmore_button', 1)): ?>
<?php get_template_part('parts/metadata/readmore', 'blog'); ?>
<?php endif;?>
</div>
</div>
</article>
</li>