|
Server : LiteSpeed System : Linux server104.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : saleoqej ( 6848) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/saleoqej/chijamzacademy.com/wp-content/themes/kadence/tutor/ |
<?php
/**
* NOTE: This template is from the TutorLMS plugin is is overridden in Kadence Theme for better theme support of TutorLMS.
* Template for displaying courses
*
* Edited by Kadence Theme, Original Author:
* @author Themeum
* @url https://themeum.com
*
* @package TutorLMS/Templates
* @version 1.5.8
*/
tutor_utils()->tutor_custom_header();
do_action('tutor_course/archive/before/wrap');
if ( isset( $_GET['course_filter'] ) ) {
$filter = (new \Tutor\Course_Filter(false))->load_listing( $_GET, true );
query_posts( $filter );
}
// Load the
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
)));
do_action('tutor_course/archive/after/wrap');
tutor_utils()->tutor_custom_footer();