add-to-cart
5 years ago
tabs
5 years ago
meta.php
5 years ago
photoswipe.php
5 years ago
price.php
5 years ago
product-attributes.php
5 years ago
product-image.php
5 years ago
product-thumbnails.php
5 years ago
rating.php
5 years ago
related.php
5 years ago
review-meta.php
5 years ago
review-rating.php
5 years ago
review.php
5 years ago
sale-flash.php
5 years ago
share.php
5 years ago
short-description.php
5 years ago
stock.php
5 years ago
title.php
5 years ago
up-sells.php
5 years ago
review.php
68 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Review Comments Template |
| 4 | * |
| 5 | * Closing li is left out on purpose!. |
| 6 | * |
| 7 | * This template can be overridden by copying it to yourtheme/woocommerce/single-product/review.php. |
| 8 | * |
| 9 | * HOWEVER, on occasion WooCommerce will need to update template files and you |
| 10 | * (the theme developer) will need to copy the new files to your theme to |
| 11 | * maintain compatibility. We try to do this as little as possible, but it does |
| 12 | * happen. When this occurs the version of the template file will be bumped and |
| 13 | * the readme will list any important changes. |
| 14 | * |
| 15 | * @see https://docs.woocommerce.com/document/template-structure/ |
| 16 | * @package WooCommerce\Templates |
| 17 | * @version 2.6.0 |
| 18 | */ |
| 19 | |
| 20 | if ( ! defined( 'ABSPATH' ) ) { |
| 21 | exit; // Exit if accessed directly |
| 22 | } |
| 23 | ?> |
| 24 | <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> |
| 25 | |
| 26 | <div id="comment-<?php comment_ID(); ?>" class="comment_container"> |
| 27 | |
| 28 | <?php |
| 29 | /** |
| 30 | * The woocommerce_review_before hook |
| 31 | * |
| 32 | * @hooked woocommerce_review_display_gravatar - 10 |
| 33 | */ |
| 34 | do_action( 'woocommerce_review_before', $comment ); |
| 35 | ?> |
| 36 | |
| 37 | <div class="comment-text"> |
| 38 | |
| 39 | <?php |
| 40 | /** |
| 41 | * The woocommerce_review_before_comment_meta hook. |
| 42 | * |
| 43 | * @hooked woocommerce_review_display_rating - 10 |
| 44 | */ |
| 45 | do_action( 'woocommerce_review_before_comment_meta', $comment ); |
| 46 | |
| 47 | /** |
| 48 | * The woocommerce_review_meta hook. |
| 49 | * |
| 50 | * @hooked woocommerce_review_display_meta - 10 |
| 51 | */ |
| 52 | do_action( 'woocommerce_review_meta', $comment ); |
| 53 | |
| 54 | do_action( 'woocommerce_review_before_comment_text', $comment ); |
| 55 | |
| 56 | /** |
| 57 | * The woocommerce_review_comment_text hook |
| 58 | * |
| 59 | * @hooked woocommerce_review_display_comment_text - 10 |
| 60 | */ |
| 61 | do_action( 'woocommerce_review_comment_text', $comment ); |
| 62 | |
| 63 | do_action( 'woocommerce_review_after_comment_text', $comment ); |
| 64 | ?> |
| 65 | |
| 66 | </div> |
| 67 | </div> |
| 68 |