文件操作 - single-product.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/i2kdefense/public_html/wp-content/themes/flatsome/woocommerce/single-product.php
编辑文件内容
<?php /** * The Template for displaying all single products. * * Override this template by copying it to yourtheme/woocommerce/single-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 * @flatsome-version 3.16.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } get_header( 'shop' ); do_action( 'flatsome_before_product_page' ); ?> <?php /** * woocommerce_before_main_content hook * * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content) * @hooked woocommerce_breadcrumb - 20 */ do_action( 'woocommerce_before_main_content' ); ?> <?php while ( have_posts() ) : the_post(); ?> <?php if ( flatsome_product_block( get_the_ID() ) ) { wc_get_template_part( 'content', 'single-product-custom' ); } else { wc_get_template_part( 'content', 'single-product' ); } ?> <?php endwhile; // end of the loop. ?> <?php /** * woocommerce_after_main_content hook * * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content) */ do_action( 'woocommerce_after_main_content' ); ?> <?php do_action( 'flatsome_after_product_page' ); get_footer( 'shop' ); ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件