| Server IP : 178.63.100.251 / Your IP : 216.73.216.228 Web Server : LiteSpeed System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64 User : truewayi ( 1855) PHP Version : 7.4.33 Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/truewayi/public_html/wp-content/themes/omexo/tutor/loop/ |
Upload File : |
<?php
/**
* Course Loop Start
*
* @package Tutor\Templates
* @subpackage CourseLoopPart
* @author Themeum <support@themeum.com>
* @link https://themeum.com
* @since 1.4.3
*/
if (!defined('ABSPATH')) {
exit;
}
$omexo_option = get_option('omexo_opt');
$course_layout = omexo_array_get($omexo_option, 'course-style') ? $omexo_option['course-style'] : '';
$course_archive_arg = isset($GLOBALS['tutor_course_archive_arg']) ? $GLOBALS['tutor_course_archive_arg']['column_per_row'] : null;
$columns = $course_archive_arg === null ? tutor_utils()->get_option('courses_col_per_row', 3) : $course_archive_arg;
?>
<?php if ($course_layout == 'style-three' || $course_layout == 'style-five') : ?>
<div class="tutor-course-list tutor-grid tutor-grid-2">
<?php elseif ($course_layout == 'style-seven') : ?>
<div class="tutor-course-list tutor-grid tutor-grid-1">
<?php else : ?>
<div class="tutor-course-list tutor-grid tutor-grid-<?php echo esc_attr($columns); ?>">
<?php endif; ?>