文件操作 - news_5.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/cards/news/news_5.php
编辑文件内容
<?php defined( 'ABSPATH' ) || exit; $html = ''; if ( empty( $this->args['breakpoint'] ) ) { $this->args['breakpoint'] = 'sm'; } // Get card breakpoint. $bk = $this->get_breakpoint(); if ( $bk ) { $bk = '-' . $bk; $flex_class = 'wpex-flex wpex-flex-col'; } else { $flex_class = 'wpex-flex'; } // Set flex row class. if ( $this->has_flex_direction_reverse() ) { $flex_row_class = 'wpex' . $bk . '-flex-row-reverse'; } else { $flex_row_class = 'wpex' . $bk . '-flex-row'; } // Begin card output. $html .= '<div class="wpex-card-inner ' . $flex_class . ' ' . $flex_row_class . ' wpex-gap-20">'; // Thumbnail $html .= $this->get_thumbnail( array( 'class' => 'wpex' . $bk . '-w-20 wpex-flex-shrink-0', 'image_class' => 'wpex-w-100', ) ); // Details $html .= '<div class="wpex-card-details wpex-flex wpex-flex-col wpex-flex-grow">'; // Category $html .= $this->get_primary_term( array( 'class' => 'wpex-text-xs wpex-font-bold wpex-uppercase wpex-mb-5', 'term_class' => 'wpex-hover-underline', 'has_term_color' => true, ) ); // Title $html .= $this->get_title( array( 'link' => true, 'class' => 'wpex-heading wpex-text-lg wpex-font-bold', 'link_class' => 'wpex-inherit-color-important', ) ); $html .= '</div>'; $html .= '</div>'; return $html;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件