<?php
/**
 * Template part for displaying post archives and search results
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage DWN_Edu
 * @since 1.0.0
 */

?>

<div id="post-<?php the_ID(); ?>" class="student__list-item <?php post_class(); ?>">
	<div class="student__list--img">
		<a href="<?php the_permalink(); ?>">
			<?php the_post_thumbnail(array( 200, 200, 'bfi_thumb' => true )); ?>
		</a>
	</div>
	<div class="student__list--content">
		<h3 class="text-primary font-weight-bold"><?php the_title(); ?></h3>
		<p><?php echo wp_trim_words(get_the_excerpt(), 40, '...'); ?></p>
		<a class="btn" href="<?php the_permalink(); ?>"><?php _e('Xem thêm', 'dwnedu') ?></a>
	</div>
</div><!-- #post-${ID} -->
