文件操作 - wpbakery.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/cards/template/wpbakery.php
编辑文件内容
<?php defined( 'ABSPATH' ) || exit; if ( empty( $content ) ) { return; } $html = ''; if ( is_callable( [ 'WPBMap', 'addAllMappedShortcodes' ] ) ) { \WPBMap::addAllMappedShortcodes(); // Fixes issues with AJAX load more. } $content = totaltheme_shortcode_unautop( $content ); // removes <p> tags around shortcodes. set_query_var( 'wpex_card_object', $this ); $content = do_shortcode( $content ); set_query_var( 'wpex_card_object', null ); if ( totaltheme_call_static( 'Pagination\Load_More', 'is_doing_ajax' ) || ( function_exists( 'vcex_doing_loadmore' ) && vcex_doing_loadmore() ) ) { // Don't create extra CSS. } else { $add_to_parsed = true; if ( $wpb_style = totaltheme_get_instance_of( 'Integration\WPBakery\Shortcode_Inline_Style' ) ) { $html .= $wpb_style->get_style( [ $template_id, $this->post_id ], $add_to_parsed ); } } if ( $this->has_link() ) { $content = str_replace( '<a', '<span', $content ); $content = str_replace( '</a>', '</span>', $content ); $html .= $this->get_link_open( [ 'class' => 'wpex-card-inner wpex-no-underline wpex-inherit-color', 'attributes' => [ 'aria-label' => get_the_title( $this->post_id ), ], ] ); $html .= $content; $html .= $this->get_link_close(); } else { $html = $html .= '<div class="wpex-card-inner">' . $content . '</div>'; } return $html;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件