<?php /** * Course Loop Start * * @since v.1.0.0 * @author themeum * @url https://themeum.com * * @package TutorLMS/Templates * @version 1.4.3 */ if ( ! defined( 'ABSPATH' ) ) { exit; } $shortcode_arg = isset($GLOBALS['tutor_shortcode_arg']) ? $GLOBALS['tutor_shortcode_arg']['column_per_row'] : null; //$courseCols = $shortcode_arg===null ? tutor_utils()->get_option( 'courses_col_per_row', 4 ) : $shortcode_arg; $column_lg = isset($_POST['course_column_lg']) && $_POST['course_column_lg'] ? $_POST['course_column_lg'] : zilom_get_option('course_column_lg', '3'); $column_md = isset($_POST['course_column_md']) && $_POST['course_column_md'] ? $_POST['course_column_md'] : zilom_get_option('course_column_md', '2'); $column_sm = isset($_POST['course_column_sm']) && $_POST['course_column_sm'] ? $_POST['course_column_sm'] : zilom_get_option('course_column_sm', '2'); $column_xs = isset($_POST['course_column_xs']) && $_POST['course_column_xs'] ? $_POST['course_column_xs'] : zilom_get_option('course_column_xs', '1'); $classes = array(); $classes[] = 'lg-block-grid-'. esc_attr($column_lg); $classes[] = 'md-block-grid-' . esc_attr($column_md); $classes[] = 'sm-block-grid-' . esc_attr($column_sm); $classes[] = 'xs-block-grid-' . esc_attr($column_xs); ?> <div class="tutor-courses tutor-courses-loop-wrap <?php echo esc_attr(implode(' ', $classes)) ?>">
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
content | Folder | 0755 |
|
|
add-to-cart-edd.php | File | 1.13 KB | 0644 |
|
add-to-cart-woocommerce.php | File | 2.19 KB | 0644 |
|
course-author.php | File | 342 B | 0644 |
|
course-continue.php | File | 499 B | 0644 |
|
course-in-cart.php | File | 566 B | 0644 |
|
course-price-edd.php | File | 895 B | 0644 |
|
course-price-woocommerce.php | File | 796 B | 0644 |
|
course-price.php | File | 789 B | 0644 |
|
course.php | File | 211 B | 0644 |
|
end_content_wrap.php | File | 74 B | 0644 |
|
footer.php | File | 2.01 KB | 0644 |
|
header.php | File | 1.06 KB | 0644 |
|
loop-after-content.php | File | 130 B | 0644 |
|
loop-before-content.php | File | 130 B | 0644 |
|
loop-end.php | File | 137 B | 0644 |
|
loop-start.php | File | 1.34 KB | 0644 |
|
meta.php | File | 1.31 KB | 0644 |
|
rating.php | File | 510 B | 0644 |
|
start_content_wrap.php | File | 95 B | 0644 |
|
title.php | File | 306 B | 0644 |
|
tutor-pagination.php | File | 691 B | 0644 |
|