enrolled
5 years ago
add-to-cart-edd.php
5 years ago
add-to-cart-woocommerce.php
5 years ago
add-to-cart.php
5 years ago
closed-enrollment.php
5 years ago
complete_form.php
5 years ago
continue-lesson.php
5 years ago
course-benefits.php
5 years ago
course-content.php
5 years ago
course-enroll-box.php
5 years ago
course-enrolled-box.php
5 years ago
course-requirements.php
5 years ago
course-target-audience.php
5 years ago
course-topics.php
5 years ago
instructors.php
5 years ago
lead-info.php
5 years ago
login.php
5 years ago
material-includes.php
5 years ago
q_and_a_turned_off.php
5 years ago
review-form.php
5 years ago
reviews.php
5 years ago
social_share.php
5 years ago
tags.php
5 years ago
wc-price-html.php
5 years ago
continue-lesson.php
51 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 | global $wp_query; |
| 19 | |
| 20 | ?> |
| 21 | |
| 22 | <div class="tutor-price-preview-box"> |
| 23 | <div class="tutor-price-box-thumbnail"> |
| 24 | <?php |
| 25 | if (tutor_utils()->has_video_in_single()) { |
| 26 | tutor_course_video(); |
| 27 | } else { |
| 28 | get_tutor_course_thumbnail(); |
| 29 | } |
| 30 | ?> |
| 31 | </div> |
| 32 | |
| 33 | <div class="tutor-lead-info-btn-group"> |
| 34 | <?php do_action('tutor_course/single/actions_btn_group/before'); ?> |
| 35 | |
| 36 | <?php |
| 37 | if ($wp_query->query['post_type'] !== 'lesson') { |
| 38 | $lesson_url = tutor_utils()->get_course_first_lesson(); |
| 39 | if ($lesson_url) { ?> |
| 40 | <a href="<?php echo $lesson_url; ?>" class="tutor-button tutor-success"> |
| 41 | <?php _e('Continue to lesson', 'tutor'); ?> |
| 42 | </a> |
| 43 | <?php } |
| 44 | } |
| 45 | ?> |
| 46 | </div> |
| 47 | |
| 48 | <?php tutor_course_price(); ?> |
| 49 | <?php tutor_course_material_includes_html(); ?> |
| 50 | |
| 51 | </div> <!-- tutor-price-preview-box --> |