| Server IP : 34.67.85.211 / Your IP : 216.73.217.52 Web Server : Apache System : Linux wordpress-1-vm 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 User : root ( 0) PHP Version : 7.4.9 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/testimonial-free/public/views/templates/ |
Upload File : |
<?php
/**
* Theme One
*/
$outline .= '<div class="sp-testimonial-free-item">';
$outline .= '<div class="sp-testimonial-free">';
if ( $client_image && has_post_thumbnail( $post_query->post->ID ) ) {
$outline .= '<div class="sp-tfree-client-image">';
$outline .= get_the_post_thumbnail( $post_query->post->ID, $image_sizes, array( 'class' => 'tfree-client-image' ) );
$outline .= '</div>';
}
if ( $testimonial_title && ! empty( get_the_title() ) ) {
$outline .= '<div class="tfree-testimonial-title"><h3>' . get_the_title() . '</h3></div>';
}
if ( $testimonial_text && ! empty( get_the_content() ) ) {
$outline .= '<div class="tfree-client-testimonial">';
$outline .= '<p class="tfree-testimonial-content">' . apply_filters( 'the_content', get_the_content() ) . '</p>';
$outline .= '</div>';
}
if ( $reviewer_name && ! empty( $tfree_name ) ) {
$outline .= '<h4 class="tfree-client-name">' . $tfree_name . '</h2>';
}
if ( $star_rating && ! empty( $tfree_rating_star ) ) {
switch ( $tfree_rating_star ) {
case 'five_star':
$rating_value = '5';
$star_rating_data = $this->tfree_five_star;
break;
case 'four_star':
$rating_value = '4';
$star_rating_data = $this->tfree_four_star;
break;
case 'three_star':
$rating_value = '3';
$star_rating_data = $this->tfree_three_star;
break;
case 'two_star':
$rating_value = '2';
$star_rating_data = $this->tfree_two_star;
break;
case 'one_star':
$rating_value = '1';
$star_rating_data = $this->tfree_one_star;
break;
}
$outline .= '<div class="tfree-client-rating">';
$outline .= $star_rating_data;
$outline .= '</div>';
}
if ( $reviewer_position && ! empty( $tfree_designation ) ) {
$outline .= '<div class="tfree-client-designation">';
$outline .= $tfree_designation;
$outline .= '</div>';
}
$outline .= '</div>'; // sp-testimonial-free.
$outline .= '</div>'; // sp-testimonial-free-item.