| Server IP : 104.21.80.248 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/www/training/wp-content/themes/flatsome/template-parts/posts/loop/ |
Upload File : |
<div class="box">
<a href="<?php the_permalink() ?>" class="plain">
<div class="box-image rectangle">
<div class="entry-image-attachment" style="max-height:<?php echo $image_height; ?>;overflow:hidden;">
<?php the_post_thumbnail( 'medium' ); ?>
</div>
</div>
<div class="box-text spacing-medium text-center">
<h5 class="post-title uppercase"><?php the_title(); ?></h5>
<div class="is-divider small"></div>
<?php if ( $excerpt != 'false' ) { ?>
<p class="from_the_blog_excerpt small-font show-next">
<?php
$excerpt = get_the_excerpt();
$excerpt_more = apply_filters( 'excerpt_more', ' [...]' );
echo flatsome_string_limit_words( $excerpt, 15 ) . $excerpt_more;
?>
</p>
<?php } ?>
<p class="from_the_blog_comments uppercase xxsmall">
<?php
$comments_number = get_comments_number( get_the_ID() );
printf( _n( '%1$s Comment', '%1$s Comments', $comments_number, 'flatsome' ),
number_format_i18n( $comments_number )
);
?>
</p>
</div>
</a>
<?php if ( $show_date != 'false' ) { ?>
<?php get_template_part( 'template-parts/posts/partials/entry', 'date-box' ); ?>
<?php } ?>
</div>