				<div class="course-item <?php //echo ($i%2==0) ? 'color-1' : 'color-2';?>">
					<div class="course-thumb">
						<?php if ( $show_thumb == 'true' && has_post_thumbnail( $course->get_id() ) ) : ?>
						<a href="<?php the_permalink() ?>"><?php echo get_the_post_thumbnail( $course->get_id(), $feature_thumb_image_size, array( 'class' => 'img-fullwidth' ) ); ?></a>
						<?php endif; ?>
						
						<?php if ( ! empty( $meta_options ) && in_array('show-price', $meta_options) ) { ?>
						<?php if( $course->get_price_html() ) {?>
							<div class="price">
								<?php echo esc_html( $course->get_price_html() ); ?>
								<?php if ( $course->has_sale_price() ) { ?>
									<span class="old-price"> <?php echo esc_html( $course->get_origin_price_html() ); ?></span>
								<?php } ?>
							</div>
						<?php }?>
						<?php }?>
					</div>

					<div class="course-details">
						<?php if ( ! empty( $meta_options ) ) { ?>
						<div class="course-meta">
							<?php if ( in_array('show-count-students', $meta_options) ) : ?>
							<span>
								<i class="fa fa-user-o"></i>
								<?php echo intval( $course->count_students() ); ?>
							</span>
							<?php endif; ?>

							<?php if ( in_array('show-tag', $meta_options) ) : ?>
							<?php
								$courses_tag = get_the_terms($course->get_id(),'course_tag');
							?>
							<?php if($courses_tag) {?>
							<a href="<?php echo get_term_link($courses_tag[0]->term_id) ?>">
								<i class="fa fa-tags"></i>
								<?php
								echo esc_html( $courses_tag[0]->name );
								?>
							</a>
							<?php }?>
							<?php endif; ?>

							<?php if( in_array('show-star-rating', $meta_options) ) : ?>
							<?php if ( class_exists( 'LP_Addon_Course_Review_Preload' ) ) {?>
							<span class="star">
								<i class="fa fa-star-o"></i>
								<?php echo intval( $course_rate );?>
							</span>
							<?php }?>
							<?php endif; ?>
						</div>
						<?php } ?>


						<?php if ( $show_title == 'true' ) : ?>
						<<?php echo esc_attr( $title_tag );?> class="course-title">
							<a href="<?php the_permalink(); ?>">
								<?php the_title(); ?>
							</a>
						</<?php echo esc_attr( $title_tag );?>>
						<?php endif; ?>
						
						<?php if ( $show_excerpt == 'true' ) : ?>
						<div class="event-excerpt">
							<?php if ( empty($excerpt_length) ) { ?>
							<?php the_excerpt(); ?>
							<?php } else { ?>
							<?php $excerpt = get_the_excerpt(); echo wp_kses_post( educacion_mascot_slice_excerpt_by_length( $excerpt, $excerpt_length ) ); ?>
							<?php } ?>
						</div>
						<?php endif; ?>

						<?php if ( $show_view_details_button == 'true' ) : ?>
						<?php educacion_mascot_get_shortcode_template_part( 'button', null, 'learnpress/tpl', $params, false );?>
						<?php endif; ?>
					</div>
						
					<div class="course-teacher d-flex justify-content-between align-items-center">
						<div class="avater">
							<?php echo wp_kses_post( $course->get_instructor()->get_profile_picture( '', 68 ) ); ?>
						</div>

						<?php echo wp_kses_post( $course->get_instructor_html() ); ?>
					</div>
				</div>