<?php /** * Template for displaying courses * * @package Tutor\Templates * @subpackage CourseArchive * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 1.5.8 */ use TUTOR\Input; tutor_utils()->tutor_custom_header(); $get = isset( $_GET['course_filter'] ) ? Input::sanitize_array( $_GET ) : array();//phpcs:ignore if ( isset( $get['course_filter'] ) ) { $filter = ( new \Tutor\Course_Filter( false ) )->load_listing( $get, true ); query_posts( $filter ); } // Load the template. tutor_load_template( 'archive-course-init', array_merge( $get, array( 'course_filter' => (bool) tutor_utils()->get_option( 'course_archive_filter', false ), 'supported_filters' => tutor_utils()->get_option( 'supported_course_filters', array() ), 'loop_content_only' => false, ) ) ); tutor_utils()->tutor_custom_footer();
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
course-filter | Folder | 0755 |
|
|
dashboard | Folder | 0755 |
|
|
ecommerce | Folder | 0755 |
|
|
Folder | 0755 |
|
||
global | Folder | 0755 |
|
|
instructor | Folder | 0755 |
|
|
loop | Folder | 0755 |
|
|
modal | Folder | 0755 |
|
|
profile | Folder | 0755 |
|
|
shortcode | Folder | 0755 |
|
|
single | Folder | 0755 |
|
|
template-part | Folder | 0755 |
|
|
widget | Folder | 0755 |
|
|
archive-course-init.php | File | 6.57 KB | 0644 |
|
archive-course.php | File | 862 B | 0644 |
|
course-embed.php | File | 4.38 KB | 0644 |
|
course-none.php | File | 259 B | 0644 |
|
dashboard.php | File | 10.69 KB | 0644 |
|
feature_disabled.php | File | 1.04 KB | 0644 |
|
login-form.php | File | 3.83 KB | 0644 |
|
login.php | File | 1.41 KB | 0644 |
|
metabox-wrapper.php | File | 621 B | 0644 |
|
permission-denied.php | File | 1.61 KB | 0644 |
|
public-profile.php | File | 7.24 KB | 0644 |
|
single-assignment.php | File | 293 B | 0644 |
|
single-content-loader.php | File | 4.26 KB | 0644 |
|
single-course.php | File | 3.9 KB | 0644 |
|
single-lesson.php | File | 292 B | 0644 |
|
single-preview-lesson.php | File | 292 B | 0644 |
|
single-quiz.php | File | 1.57 KB | 0644 |
|
template.php | File | 385 B | 0644 |
|