PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
dc-product-vendor
/
review
<?php /** * Vendor Review Comments Template * * Closing li is left out on purpose!. * * This template can be overridden by copying it to yourtheme/dc-product-vendor/review/rating.php. * * HOWEVER, on occasion WC Marketplace will need to update template files and you (the theme developer). * will need to copy the new files to your theme to maintain compatibility. We try to do this. * as little as possible, but it does happen. When this occurs the version of the template file will. * be bumped and the readme will list any important changes. * * * @author WC Marketplace * @package dc-woocommerce-multi-vendor/Templates * @version 3.3.5 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } global $WCMp; $rating = round($rating_val_array['avg_rating'], 1); $count = intval($rating_val_array['total_rating']); $review_text = $count > 1 ? esc_html__('Reviews', 'besa') : esc_html__('Review', 'besa'); ?> <div style="clear:both; width:100%;"></div> <a href="#reviews"> <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating" class="star-rating" title="<?php echo sprintf(__('Rated %s out of 5', 'besa'), $rating) ?>"> <span style="width:<?php echo trim(( $rating / 5 ) * 100); ?>%"><strong itemprop="ratingValue"><?php echo trim($rating); ?></strong> <?php esc_html_e('out of 5', 'besa'); ?></span> </span> <?php echo ' '. trim($count) . ' '. trim($review_text); ?> </a>
[+]
..
[-] .review.php
[edit]
[-] rating.php
[edit]