File: //var/www/lipovac/wp-content/plugins/testimonial-rotator/templates/longform/single-testimonial.php
<?php
global $post;
// WRAPPER
if( $is_single_page ) echo "<div class=\"testimonial_rotator template-{$template_name}\">";
echo "<div class=\"testimonial_rotator_single hreview itemreviewed item {$has_image} cf-tr\">\n";
// RATING
if( $rating AND $show_stars )
{
echo "<div class=\"testimonial_rotator_stars cf-tr\">\n";
for($r=1; $r <= $rating; $r++)
{
echo " <span class=\"testimonial_rotator_star testimonial_rotator_star_$r\"><i class=\"fa {$testimonial_rotator_star}\"></i></span>";
}
echo "</div>\n";
}
// IF SHOW TITLE
if( $show_title ) echo "<{$title_heading} class=\"testimonial_rotator_slide_title\">" . get_the_title() . "</{$title_heading}>\n";
// DESCRIPTION
echo "<div class=\"text testimonial_rotator_description\">\n";
// CONTENT
if( $show_body )
{
echo "<div class=\"testimonial_rotator_quote\">\n";
echo get_the_content();
echo "</div>\n";
}
// AUTHOR INFO
if( $cite AND $show_author )
{
echo '<hr class="longform_hr">';
if ( $has_image AND $show_image )echo " <div class=\"testimonial_rotator_img img\">" . get_the_post_thumbnail( get_the_ID(), $img_size) . "</div>\n";
echo "<div class=\"testimonial_rotator_author_info cf-tr\">\n";
echo wpautop($cite);
echo "</div>\n";
}
echo "</div>\n";
// MICRODATA
if( $show_microdata )
{
echo " <div class=\"testimonial_rotator_microdata\">\n";
if($itemreviewed) echo "\t<div class=\"item\"><div class=\"fn\">{$itemreviewed}</div></div>\n";
if($rating) echo "\t<div class=\"rating\">{$rating}</div>\n";
echo " <div class=\"dtreviewed\"> " . get_the_date('c') . "</div>";
echo " <div class=\"reviewer\"> ";
echo " <div class=\"fn\"> " . wpautop($cite) . "</div>";
if ( has_post_thumbnail() ) { echo get_the_post_thumbnail( $testimonial_id, 'thumbnail', array('class' => 'photo' )); }
echo " </div>";
echo " <div class=\"summary\"> " . $post->post_excerpt . "</div>";
echo " <div class=\"permalink\"> " . get_permalink() . "</div>";
echo " </div> <!-- .testimonial_rotator_microdata -->\n";
}
echo "</div>\n";