文件操作 - gutenberg.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/cards/template/gutenberg.php
编辑文件内容
<?php defined( 'ABSPATH' ) || exit; if ( empty( $content ) ) { return; } $html = ''; set_query_var( 'wpex_card_object', $this ); $content = apply_filters( 'wpex_the_content', $content ); set_query_var( 'wpex_card_object', null ); if ( $this->has_link() ) { // Replace all links with spans. $content = str_replace( '<a', '<span', $content ); $content = str_replace( '</a>', '</span>', $content ); // Open card link. $html .= $this->get_link_open( [ 'class' => 'wpex-card-inner wpex-no-underline wpex-inherit-color', 'attributes' => [ 'aria-label' => get_the_title( $this->post_id ), ], ] ); // Card content. $html .= $content; // Close card. $html .= $this->get_link_close(); } else { $html = $html .= '<div class="wpex-card-inner">' . $content . '</div>'; } return $html;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件