course-filter
3 years ago
dashboard
3 years ago
email
4 years ago
global
4 years ago
instructor
4 years ago
loop
4 years ago
modal
4 years ago
profile
4 years ago
shortcode
4 years ago
single
3 years ago
template-part
4 years ago
widget
4 years ago
archive-course-init.php
4 years ago
archive-course.php
4 years ago
course-none.php
4 years ago
dashboard.php
3 years ago
feature_disabled.php
4 years ago
instructor-setting.php
4 years ago
login-form.php
4 years ago
login.php
4 years ago
permission-denied.php
4 years ago
public-profile.php
4 years ago
single-assignment.php
4 years ago
single-content-loader.php
4 years ago
single-course.php
4 years ago
single-lesson.php
4 years ago
single-preview-lesson.php
4 years ago
single-quiz.php
3 years ago
template.php
4 years ago
archive-course.php
29 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 | tutor_utils()->tutor_custom_header(); |
| 15 | |
| 16 | if ( isset( $_GET['course_filter'] ) ) { |
| 17 | $filter = (new \Tutor\Course_Filter(false))->load_listing( $_GET, true ); |
| 18 | query_posts( $filter ); |
| 19 | } |
| 20 | |
| 21 | // Load the |
| 22 | tutor_load_template('archive-course-init', array_merge($_GET, array( |
| 23 | 'course_filter' => (bool) tutor_utils()->get_option('course_archive_filter', false), |
| 24 | 'supported_filters' => tutor_utils()->get_option('supported_course_filters', array()), |
| 25 | 'loop_content_only' => false |
| 26 | ))); |
| 27 | |
| 28 | tutor_utils()->tutor_custom_footer(); |
| 29 |