Submit
Path:
~
/
home
/
getwphos
/
public_html
/
twinkletown
/
wp-content
/
themes
/
wuko
/
woocommerce
/
single-product
/
File Content:
rating.php
<?php /** * Single Product Rating * This template is overriden by WebGeniusLab team for fine customizing. * * @see https://woocommerce.com/document/template-structure/ * @package WooCommerce\Templates * @version 3.6.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } global $product; if ( ! wc_review_ratings_enabled() ) { return; } $rating_count = $product->get_rating_count(); $review_count = $product->get_review_count(); $average = $product->get_average_rating(); if ( $rating_count > 0 ) : ?> <div class="woocommerce-product-rating"> <?php echo wc_get_rating_html( $average, $rating_count ); // WPCS: XSS ok. ?> <?php if ( comments_open() ) : ?> <?php //phpcs:disable ?> <a href="#reviews" class="woocommerce-review-link" rel="nofollow"><?php printf( _n( '%s review', '%s reviews', $review_count, 'wuko' ), '<span class="count">' . esc_html( $review_count ) . '</span>' ); ?></a> <?php // phpcs:enable ?> <?php endif ?> </div> <?php endif;
Submit
FILE
FOLDER
Name
Size
Permission
Action
meta.php
1268 bytes
0644
rating.php
1025 bytes
0644
related.php
3724 bytes
0644
up-sells.php
3556 bytes
0644
N4ST4R_ID | Naxtarrr