文件操作 - rating.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/testimonial-free/src/Frontend/Views/templates/form/rating.php
编辑文件内容
<?php /** * Rating. * * This template can be overridden by copying it to yourtheme/testimonial-free/templates/form/rating.php * * @package Testimonial_Free * @subpackage Testimonial_Free/Frontend */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } ?> <div class="sp-tpro-form-field"> <div class="sp-testimonial-label-section"> <?php if ( $rating_label ) { ?> <label for="tpro_client_rating"><?php echo esc_html( $rating_label ); ?></label> <?php } ?> </div> <!-- end of sp-testimonial-label-section --> <div class="sp-testimonial-input-field"> <?php if ( ! empty( $before ) ) { ?> <span class="tpro_client_before tpro-before-rating"><?php echo esc_html( $before ); ?></span> <?php } ?> <div class="sp-tpro-client-rating"> <input type="radio" name="tpro_client_rating" id="_tpro_rating_5<?php echo esc_attr( $form_id ); ?>" value="five_star"> <label for="_tpro_rating_5<?php echo esc_attr( $form_id ); ?>" title="Five Stars"><i class="fa fa-star"></i></label> <input type="radio" name="tpro_client_rating" id="_tpro_rating_4<?php echo esc_attr( $form_id ); ?>" value="four_star"> <label for="_tpro_rating_4<?php echo esc_attr( $form_id ); ?>" title="Four Stars"><i class="fa fa-star"></i></label> <input type="radio" name="tpro_client_rating" id="_tpro_rating_3<?php echo esc_attr( $form_id ); ?>" value="three_star"> <label for="_tpro_rating_3<?php echo esc_attr( $form_id ); ?>" title="Three Stars"><i class="fa fa-star"></i></label> <input type="radio" name="tpro_client_rating" id="_tpro_rating_2<?php echo esc_attr( $form_id ); ?>" value="two_star"> <label for="_tpro_rating_2<?php echo esc_attr( $form_id ); ?>" title="Two Star"><i class="fa fa-star"></i></label> <input type="radio" name="tpro_client_rating" id="_tpro_rating_1<?php echo esc_attr( $form_id ); ?>" value="one_star"> <label for="_tpro_rating_1<?php echo esc_attr( $form_id ); ?>" title="One Star"><i class="fa fa-star"></i></label> </div> <?php if ( ! empty( $after ) ) { ?> <span class="tpro_client_after tpro-after-rating"><?php echo esc_html( $after ); ?></span> <?php } ?> </div> <!-- end of sp-testimonial-input-field --> </div> <!-- end of sp-tpro-form-field -->
修改文件时间
将文件时间修改为当前时间的前一年
删除文件