/home/awneajlw/www/wp-content/themes/codz/template-parts/content-default.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package codz
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class( 'style-default' ); ?>>
	<?php if ( has_post_thumbnail() ) { ?>
		<div class="post-thumbnail">
			<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'full' ); ?></a>
		</div><!-- .post-thumbnail -->
	<?php } ?>
	<div class="entry-category">
		<?php
		if ( 'post' === get_post_type() ) {
			/* translators: used between list items, there is a space after the comma */
			if ( true == codz_global_var( 'display_categries', '', false ) || ! class_exists( 'ReduxFrameworkPlugin' ) ) :
				$categories_list = get_the_category_list( __( ', ', 'codz' ) );
				if ( $categories_list && codz_categorized_blog() ) {
					printf(
						wp_kses( '<span class="category"><span class="ti-direction-alt"></span>', 'post' ) .
						/* translators: used between list items, there is a space after the comma */
						esc_html( ' %1$s' ) .
						wp_kses( '</span>', 'post' ),
						wp_kses( $categories_list, 'post' )
					);
				}
		endif;
		}
		?>
	</div><!-- .entry-category -->
	<header class="entry-header">
		<?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
	</header><!-- .entry-header -->
	<div class="entry-meta">
		<?php codz_posted_on(); ?>
	</div><!-- .entry-meta -->
	<div class="entry-main">
		<div class="entry-content">
			<?php echo wp_kses( substr( wp_strip_all_tags( get_the_excerpt() ), 0, 300 ) . '...', 'post' ); ?>
		</div><!-- .entry-content -->
		<div class="row entry-extra">
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<div class="entry-extra-item text-left">
					<div class="post-read-more">
						<a class="btn" href="<?php the_permalink(); ?>" data-hover="<?php esc_attr_e( 'Read More', 'codz' ); ?>"><span><?php esc_html_e( 'Read More', 'codz' ); ?></span></a>
					</div><!-- .post-read-more -->
				</div><!-- .entry-extra-item -->
			</div>
		</div><!-- .entry-extra -->
	</div><!-- .entry-main -->
</article><!-- #post-## -->