enrolled
4 years ago
add-to-cart-edd.php
5 years ago
add-to-cart-woocommerce.php
4 years ago
add-to-cart.php
4 years ago
closed-enrollment.php
5 years ago
complete_form.php
5 years ago
continue-lesson.php
4 years ago
course-benefits.php
4 years ago
course-content.php
4 years ago
course-enroll-box.php
5 years ago
course-enrolled-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
login.php
4 years ago
material-includes.php
4 years ago
q_and_a_turned_off.php
5 years ago
review-form.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
continue-lesson.php
55 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Template for displaying course content |
| 5 | * |
| 6 | * @since v.1.6.7 |
| 7 | * |
| 8 | * @author Themeum |
| 9 | * @url https://themeum.com |
| 10 | * |
| 11 | * @package TutorLMS/Templates |
| 12 | * @version v.1.6.7 |
| 13 | */ |
| 14 | |
| 15 | if ( ! defined( 'ABSPATH' ) ) { |
| 16 | exit; |
| 17 | } |
| 18 | |
| 19 | global $wp_query; |
| 20 | |
| 21 | ?> |
| 22 | |
| 23 | <div class="tutor-price-preview-box"> |
| 24 | <div class="tutor-price-box-thumbnail"> |
| 25 | <?php |
| 26 | if ( tutor_utils()->has_video_in_single() ) { |
| 27 | tutor_course_video(); |
| 28 | } else { |
| 29 | get_tutor_course_thumbnail(); |
| 30 | } |
| 31 | ?> |
| 32 | </div> |
| 33 | |
| 34 | <div class="tutor-lead-info-btn-group"> |
| 35 | <?php do_action( 'tutor_course/single/actions_btn_group/before' ); ?> |
| 36 | |
| 37 | <?php |
| 38 | if ( $wp_query->query['post_type'] !== 'lesson' ) { |
| 39 | $lesson_url = tutor_utils()->get_course_first_lesson(); |
| 40 | if ( $lesson_url ) { |
| 41 | ?> |
| 42 | <a href="<?php echo esc_url( $lesson_url ); ?>" class="tutor-button tutor-button-primary"> |
| 43 | <?php _e( 'Continue to lesson', 'tutor' ); ?> |
| 44 | </a> |
| 45 | <?php |
| 46 | } |
| 47 | } |
| 48 | ?> |
| 49 | </div> |
| 50 | |
| 51 | <?php tutor_course_price(); ?> |
| 52 | <?php tutor_course_material_includes_html(); ?> |
| 53 | |
| 54 | </div> <!-- tutor-price-preview-box --> |
| 55 |