文件操作 - product_1.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/cards/product/product_1.php
编辑文件内容
<?php defined( 'ABSPATH' ) || exit; $has_link = $this->has_link(); $html = ''; $inner_class = 'wpex-card-inner wpex-relative'; if ( $has_link ) { if ( ! empty( $this->args['thumbnail_overlay_style'] ) && in_array( $this->args['thumbnail_overlay_style'], [ 'thumb-swap', 'thumb-swap-title' ] ) ) { $inner_class .= ' overlay-parent'; } $html .= $this->get_link_open( array( 'class' => $inner_class . ' wpex-no-underline wpex-inherit-color', 'attributes' => array( 'aria-label' => get_the_title( $this->post_id ), ), ) ); } else { $html .= '<div class="' . esc_attr( $inner_class ) . '">'; } // Sale tag $sale_flash = $this->get_sale_flash( array( 'class' => 'wpex-absolute wpex-z-5 wpex-left-0 wpex-top-0 wpex-ml-15 wpex-mt-15 wpex-inline-block wpex-py-5 wpex-px-10 wpex-mb-20 wpex-bg-accent wpex-leading-normal wpex-rounded-sm', ) ); // Media $html .= $this->get_media( array( 'class' => 'wpex-mb-15', 'before' => $sale_flash, 'link' => false, ) ); $html .= '<div class="wpex-card-details wpex-last-mb-0">'; // Title $html .= $this->get_title( array( 'class' => 'wpex-heading wpex-text-md wpex-mb-5', 'link' => false, ) ); // Price $html .= $this->get_price( array( 'link' => false, ) ); $html .= '</div>'; if ( $has_link ) { $html .= $this->get_link_close(); } else { $html .= '</div>'; } return $html;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件