文件操作 - single-wpex_card.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/single-wpex_card.php
编辑文件内容
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); $post_id = get_the_ID(); $preview_width = get_post_meta( $post_id, 'preview_width', true ); $class = get_post_meta( $post_id, 'el_class', true ); ?> <div class="wpex-card-builder wpex-p-50"> <?php if ( $preview_width ) { echo '<div class="wpex-mx-auto" style="max-width:' . esc_attr( wpex_sanitize_data( $preview_width, 'fallback_px' ) ) . '">'; } else { echo '<div class="container">'; } ?> <?php while ( have_posts() ) : the_post(); $entry_class = [ 'wpex-card', 'wpex-card-template_' . absint( $post_id ), ]; if ( $class ) { $entry_class[] = esc_attr( $class ); } ?> <div class="<?php echo esc_attr( implode( ' ', $entry_class ) ); ?>"> <div class="wpex-card-inner"> <?php the_content(); ?> </div> </div> <?php endwhile; ?> </div> </div> <?php get_footer();
修改文件时间
将文件时间修改为当前时间的前一年
删除文件