<?php /** * @package TutorLMS/Templates * @version 1.5.8 */ $course_id = get_the_ID(); ?> <div class="course-header-meta"> <?php $is_wishlisted = tutor_utils()->is_wishlisted($course_id); $has_wish_list = ''; if ($is_wishlisted){ $has_wish_list = 'has-wish-listed'; } $action_class = ''; if ( is_user_logged_in()){ $action_class = apply_filters('tutor_wishlist_btn_class', 'tutor-course-wishlist-btn'); }else{ $action_class = apply_filters('tutor_popup_login_class', 'cart-required-login'); } echo '<span class="tutor-course-wishlist">'; echo '<a href="javascript:;" class="' . esc_attr($action_class) . ' ' . esc_attr($has_wish_list) . ' " data-course-id="' . esc_attr($course_id) . '"><i class="icon far fa-heart"></i></a>'; echo '</span>'; ?> <?php if(get_post_meta( get_the_ID(), 'zilom_course_featured', true)){ echo '<div class="featured-label">' . esc_html__('Featured', 'zilom') . '</div>'; } ?> </div>
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 |
|