Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/tutor/templates/loop/thumbnail.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 + /**
3 + * Display loop thumbnail
4 + *
5 + * @package Tutor\Templates
6 + * @subpackage CourseLoopPart
7 + * @author Themeum <support@themeum.com>
8 + * @link https://themeum.com
9 + * @since 1.4.3
10 + */
11 +
12 + $tutor_course_img = get_tutor_course_thumbnail_src();
13 + ?>
14 + <div class="tutor-course-thumbnail">
15 + <a href="<?php the_permalink(); ?>" class="tutor-d-block">
16 + <div class="tutor-ratio tutor-ratio-16x9">
17 + <img class="tutor-card-image-top" src="<?php echo esc_url( $tutor_course_img ); ?>" alt="<?php the_title(); ?>" loading="lazy">
18 + </div>
19 + </a>
20 + <?php do_action( 'tutor_after_course_loop_thumbnail_link', get_the_ID() ); ?>
21 + </div>
22 +