course-filter
5 years ago
dashboard
5 years ago
email
5 years ago
global
5 years ago
loop
5 years ago
profile
5 years ago
shortcode
5 years ago
single
5 years ago
template-part
5 years ago
widget
5 years ago
archive-course-init.php
5 years ago
archive-course.php
5 years ago
course-none.php
5 years ago
dashboard.php
5 years ago
login.php
5 years ago
single-assignment.php
5 years ago
single-course-enrolled-announcements.php
5 years ago
single-course-enrolled-overview.php
5 years ago
single-course-enrolled-questions.php
5 years ago
single-course-enrolled-subpage.php
5 years ago
single-course-enrolled.php
5 years ago
single-course-instructor.php
5 years ago
single-course.php
5 years ago
single-lesson.php
5 years ago
single-preview-lesson.php
5 years ago
single-quiz.php
5 years ago
student-public-profile.php
5 years ago
template.php
5 years ago
archive-course.php
35 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Template for displaying courses |
| 5 | * |
| 6 | * @since v.1.0.0 |
| 7 | * |
| 8 | * @author Themeum |
| 9 | * @url https://themeum.com |
| 10 | * |
| 11 | * @package TutorLMS/Templates |
| 12 | * @version 1.5.8 |
| 13 | */ |
| 14 | |
| 15 | get_header(); |
| 16 | |
| 17 | $course_filter = (bool) tutor_utils()->get_option('course_filter'); |
| 18 | |
| 19 | if ($course_filter) { |
| 20 | ?> |
| 21 | <div class="tutor-course-filter-wrapper"> |
| 22 | <div class="tutor-course-filter-container"> |
| 23 | <?php tutor_load_template('course-filter.filters'); ?> |
| 24 | </div> |
| 25 | <div> |
| 26 | <div class="<?php tutor_container_classes() ?> tutor-course-filter-loop-container"> |
| 27 | <?php tutor_load_template('archive-course-init'); ?> |
| 28 | </div><!-- .wrap --> |
| 29 | </div> |
| 30 | </div> |
| 31 | <?php |
| 32 | } else { |
| 33 | tutor_load_template('archive-course-init'); |
| 34 | } |
| 35 | get_footer(); ?> |