add-to-cart-edd.php
4 years ago
add-to-cart-woocommerce.php
4 years ago
course-author.php
4 years ago
course-continue.php
4 years ago
course-in-cart.php
4 years ago
course-price-edd.php
4 years ago
course-price-woocommerce.php
4 years ago
course-price.php
4 years ago
course.php
4 years ago
end_content_wrap.php
5 years ago
enrolled-course-progress.php
4 years ago
footer.php
4 years ago
header.php
4 years ago
loop-after-content.php
4 years ago
loop-before-content.php
4 years ago
loop-end.php
5 years ago
loop-start.php
4 years ago
meta.php
4 years ago
rating.php
4 years ago
start_content_wrap.php
4 years ago
thumbnail.php
4 years ago
title.php
4 years ago
thumbnail.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Display loop thumbnail |
| 5 | * |
| 6 | * @since v.1.0.0 |
| 7 | * @author themeum |
| 8 | * @url https://themeum.com |
| 9 | * |
| 10 | * @package TutorLMS/Templates |
| 11 | * @version 1.4.3 |
| 12 | */ |
| 13 | |
| 14 | $tutor_course_img = get_tutor_course_thumbnail_src(); |
| 15 | $placeholder_img = tutor()->url . 'assets/images/placeholder.svg'; |
| 16 | ?> |
| 17 | <div class="tutor-course-thumbnail"> |
| 18 | <a href="<?php the_permalink(); ?>" class="tutor-d-block"> |
| 19 | <div class="tutor-ratio tutor-ratio-16x9"> |
| 20 | <img class="tutor-card-image-top" src="<?php echo empty(esc_url($tutor_course_img)) ? $placeholder_img : esc_url($tutor_course_img) ?>" alt="<?php the_title(); ?>" loading="lazy"> |
| 21 | </div> |
| 22 | </a> |
| 23 | </div> |