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