Created
June 11, 2019 14:48
-
-
Save MjHead/3df6d8237e0ea118428d15e21fdeb44b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Testimonials start template | |
| */ | |
| $settings = $this->get_settings(); | |
| $data_settings = $this->generate_setting_json(); | |
| $use_comment_corner = $this->get_settings( 'use_comment_corner' ); | |
| $class_array[] = 'jet-testimonials__instance'; | |
| $class_array[] = 'elementor-slick-slider'; | |
| if ( filter_var( $use_comment_corner, FILTER_VALIDATE_BOOLEAN ) ) { | |
| $class_array[] = 'jet-testimonials--comment-corner'; | |
| } | |
| $classes = implode( ' ', $class_array ); | |
| $dir = is_rtl() ? 'rtl' : 'ltr'; | |
| $data_settings = str_replace( '}\'', ',"centerMode":true}\'', $data_settings ); | |
| ?> | |
| <div class="<?php echo $classes; ?>" <?php echo $data_settings; ?> dir="<?php echo $dir; ?>"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment