enrolled
4 years ago
add-to-cart-edd.php
4 years ago
add-to-cart-woocommerce.php
4 years ago
add-to-cart.php
4 years ago
continue-lesson.php
4 years ago
course-benefits.php
4 years ago
course-content.php
4 years ago
course-enrolled-box.php
4 years ago
course-entry-box.php
4 years ago
course-requirements.php
4 years ago
course-target-audience.php
4 years ago
course-topics.php
4 years ago
instructors.php
4 years ago
lead-info.php
4 years ago
material-includes.php
4 years ago
q_and_a_turned_off.php
5 years ago
reviews-loop.php
4 years ago
reviews.php
4 years ago
social_share.php
4 years ago
tags.php
4 years ago
wc-price-html.php
4 years ago
material-includes.php
47 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template for displaying course Material Includes assets |
| 4 | * |
| 5 | * @since v.1.0.0 |
| 6 | * |
| 7 | * @author Themeum |
| 8 | * @url https://themeum.com |
| 9 | * |
| 10 | * @package TutorLMS/Templates |
| 11 | * @version 1.4.3 |
| 12 | */ |
| 13 | |
| 14 | |
| 15 | do_action( 'tutor_course/single/before/material_includes' ); |
| 16 | |
| 17 | $materials = tutor_course_material_includes(); |
| 18 | |
| 19 | if ( empty( $materials ) ) { |
| 20 | return; |
| 21 | } |
| 22 | |
| 23 | if ( is_array( $materials ) && count( $materials ) ) { |
| 24 | ?> |
| 25 | <div class="tutor-course-details-widget tutor-mt-40"> |
| 26 | <div class="tutor-course-details-widget-title tutor-mb-16"> |
| 27 | <span class="tutor-color-black tutor-fs-6 tutor-fw-medium"> |
| 28 | <?php _e('Material Includes', 'tutor'); ?> |
| 29 | </span> |
| 30 | </div> |
| 31 | <ul class="tutor-course-details-widget-list"> |
| 32 | <?php foreach ($materials as $material): ?> |
| 33 | <li class="tutor-d-flex tutor-color-black tutor-fs-6 tutor-fw-normal tutor-mb-12"> |
| 34 | <span class="tutor-icon-mark-filled tutor-color-design-brand tutor-mr-4"></span> |
| 35 | <span><?php echo $material; ?></span> |
| 36 | </li> |
| 37 | <?php endforeach; ?> |
| 38 | </ul> |
| 39 | </div> |
| 40 | <?php |
| 41 | } |
| 42 | |
| 43 | do_action('tutor_course/single/after/material_includes'); |
| 44 | |
| 45 | ?> |
| 46 | |
| 47 |