Server IP : 104.21.14.103 / Your IP : 3.15.1.180 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/dangky.bnnagency.com/wp-content/themes/flatsome/template-parts/posts/loop/ |
Upload File : |
<?php /** * Post loop post simple. * * @package Flatsome\Templates * @flatsome-version 3.16.0 */ ?> <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>