enrolled
4 years ago
add-to-cart-edd.php
4 years ago
add-to-cart-woocommerce.php
4 years ago
add-to-cart.php
4 years ago
continue-lesson.php
4 years ago
course-benefits.php
4 years ago
course-content.php
4 years ago
course-enrolled-box.php
4 years ago
course-entry-box.php
4 years ago
course-requirements.php
4 years ago
course-target-audience.php
4 years ago
course-topics.php
4 years ago
instructors.php
4 years ago
lead-info.php
4 years ago
material-includes.php
4 years ago
q_and_a_turned_off.php
5 years ago
reviews-loop.php
4 years ago
reviews.php
4 years ago
social_share.php
4 years ago
tags.php
4 years ago
wc-price-html.php
4 years ago
reviews-loop.php
30 lines
| 1 | <?php |
| 2 | foreach ( $reviews as $review ) { |
| 3 | $profile_url = tutor_utils()->profile_url( $review->user_id, false ); |
| 4 | ?> |
| 5 | <li class=""> |
| 6 | <div> |
| 7 | <div class=""> |
| 8 | <img class="tutor-avatar-circle tutor-50" src="<?php echo get_avatar_url( $review->user_id ); ?>" alt="student avatar" /> |
| 9 | </div> |
| 10 | <div class="text-regular-body tutor-color-black tutor-mt-16"> |
| 11 | <a href="<?php echo esc_url( $profile_url ); ?>" class="tutor-reviewer-name"> |
| 12 | <?php echo esc_html( $review->display_name ); ?> |
| 13 | </a> |
| 14 | </div> |
| 15 | <div class="text-regular-small tutor-color-muted"> |
| 16 | <span class="tutor-review-time"> |
| 17 | <?php echo sprintf( __( '%s ago', 'tutor' ), human_time_diff( strtotime( $review->comment_date ) ) ); ?> |
| 18 | </span> |
| 19 | </div> |
| 20 | </div> |
| 21 | <div> |
| 22 | <?php tutor_utils()->star_rating_generator_v2( $review->rating, null, true, 'tutor-is-sm' ); ?> |
| 23 | <div class="text-regular-caption tutor-color-black-60 tutor-mt-12 tutor-review-comment"> |
| 24 | <?php echo htmlspecialchars( $review->comment_content ); ?> |
| 25 | </div> |
| 26 | </div> |
| 27 | </li> |
| 28 | <?php |
| 29 | } |
| 30 | ?> |