✏️ 正在编辑: wc-thumbnail-clean.php
路径:
/home/lssfapb/www/wp-content/themes/Avada/templates/wc-thumbnail-clean.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * WooCommerce thumbnail template (clean mode). * * @author ThemeFusion * @copyright (c) Copyright by ThemeFusion * @link https://theme-fusion.com * @package Avada * @subpackage Core * @since 5.1.0 */ global $product, $woocommerce; $id = get_the_ID(); // phpcs:ignore WordPress.WP.GlobalVariablesOverride $in_cart = fusion_library()->woocommerce->is_product_in_cart( $id ); $size = 'shop_catalog'; $post_permalink = get_permalink(); ?> <div class="fusion-clean-product-image-wrapper <?php echo ( $in_cart ) ? 'fusion-item-in-cart' : ''; ?>"> <?php echo fusion_render_first_featured_image_markup( $id, $size, $post_permalink, true, false, true, 'disable', 'disable', '', '', 'yes', true ); // phpcs:ignore WordPress.Security.EscapeOutput ?> </div>
💾 保存文件
← 返回文件管理器