Server : LiteSpeed System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : apotdzgr ( 7060) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/apotdzgr/public_html/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>