add-to-cart-edd.php
4 years ago
add-to-cart-woocommerce.php
4 years ago
course-author.php
4 years ago
course-continue.php
4 years ago
course-in-cart.php
4 years ago
course-price-edd.php
4 years ago
course-price-woocommerce.php
4 years ago
course-price.php
4 years ago
course.php
4 years ago
end_content_wrap.php
5 years ago
enrolled-course-progress.php
4 years ago
footer.php
4 years ago
header.php
4 years ago
loop-after-content.php
4 years ago
loop-before-content.php
4 years ago
loop-end.php
5 years ago
loop-start.php
4 years ago
meta.php
4 years ago
rating.php
4 years ago
start_content_wrap.php
4 years ago
thumbnail.php
4 years ago
title.php
4 years ago
tutor-pagination.php
4 years ago
tutor-pagination_ajax.php
4 years ago
header.php
30 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package TutorLMS/Templates |
| 4 | * @version 1.5.8 |
| 5 | */ |
| 6 | |
| 7 | ?> |
| 8 | |
| 9 | <div class="tutor-course-listing-item-head tutor-d-flex"> |
| 10 | <?php |
| 11 | tutor_course_loop_thumbnail(); |
| 12 | |
| 13 | $course_id = get_the_ID(); |
| 14 | ?> |
| 15 | <?php |
| 16 | $is_wishlisted = tutor_utils()->is_wishlisted($course_id); |
| 17 | |
| 18 | $action_class = ''; |
| 19 | if ( is_user_logged_in()){ |
| 20 | $action_class = apply_filters('tutor_wishlist_btn_class', 'tutor-course-wishlist-btn'); |
| 21 | }else{ |
| 22 | $action_class = apply_filters('tutor_popup_login_class', 'cart-required-login'); |
| 23 | } |
| 24 | |
| 25 | echo '<a href="javascript:;" class="'. esc_attr( $action_class ) .' save-bookmark-btn tutor-d-flex tutor-align-items-center tutor-justify-content-center" data-course-id="'. esc_attr( $course_id ) .'"> |
| 26 | <i class="'.($is_wishlisted ? 'tutor-icon-fav-full-filled' : 'tutor-icon-fav-line-filled').'"></i> |
| 27 | </a>'; |
| 28 | ?> |
| 29 | </div> |
| 30 |