HEX
Server: LiteSpeed
System: Linux vps30244.sdns.vn 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64
User: admin (1001)
PHP: 7.4.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/hcb48/public_html/wp-content/themes/flatsome/template-parts/posts/loop/post-simple.php
<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><!-- .box-image -->
		<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><!-- .post_shortcode_text -->
	</a>
	<?php if ( $show_date != 'false' ) { ?>
		<?php get_template_part( 'template-parts/posts/partials/entry', 'date-box' ); ?>
	<?php } ?>
</div><!-- .box -->