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