enrolled
4 years ago
add-to-cart-edd.php
5 years ago
add-to-cart-woocommerce.php
4 years ago
add-to-cart.php
4 years ago
closed-enrollment.php
5 years ago
complete_form.php
5 years ago
continue-lesson.php
4 years ago
course-benefits.php
4 years ago
course-content.php
4 years ago
course-enroll-box.php
5 years ago
course-enrolled-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
login.php
4 years ago
material-includes.php
4 years ago
q_and_a_turned_off.php
5 years ago
review-form.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
social_share.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template for displaying social share |
| 4 | * |
| 5 | * @since v.1.0.4 |
| 6 | * |
| 7 | * @author Themeum |
| 8 | * @url https://themeum.com |
| 9 | * |
| 10 | * @package TutorLMS/Templates |
| 11 | * @version 1.4.3 |
| 12 | */ |
| 13 | |
| 14 | |
| 15 | $share_config = array( |
| 16 | 'title' => get_the_title(), |
| 17 | 'text' => get_the_excerpt(), |
| 18 | 'image' => get_tutor_course_thumbnail( 'post-thumbnail', true ), |
| 19 | ); |
| 20 | ?> |
| 21 | |
| 22 | <div class="tutor-social-share-wrap" data-social-share-config="<?php echo esc_attr( json_encode( $share_config ) ); ?>"> |
| 23 | <?php |
| 24 | foreach ( $tutor_social_share_icons as $icon ) { |
| 25 | echo '<button class="tutor_share ' . $icon['share_class'] . '"> ' . |
| 26 | $icon['icon_html'] . |
| 27 | ' </button>'; |
| 28 | } |
| 29 | ?> |
| 30 | </div> |
| 31 |