文件操作 - product_gallery.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/templates/elements/product_gallery.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * WooCommerce Product gallery * * $type * */ global $product; if ( ( ! class_exists( 'woocommerce' ) OR ! $product ) AND ! apply_filters( 'usb_is_preview_page', NULL ) ) { return; } $_atts['class'] = 'w-post-elm product_gallery'; $_atts['class'] .= isset( $classes ) ? $classes : ''; if ( ! empty( $el_id ) AND $us_elm_context == 'shortcode' ) { $_atts['id'] = $el_id; } // Output the element echo '<div' . us_implode_atts( $_atts ) . '>'; // In Live Builder for Page Block / Content template show a placeholder if ( apply_filters( 'usb_is_preview_page_for_template', NULL ) ) { echo us_get_img_placeholder(); } else { wc_get_template( 'single-product/product-image.php' ); } echo '</div>';
修改文件时间
将文件时间修改为当前时间的前一年
删除文件