文件操作 - toggle_1.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/cards/toggle/toggle_1.php
编辑文件内容
<?php defined( 'ABSPATH' ) || exit; if ( ! function_exists( 'vcex_do_shortcode_function' ) ) { return; } $html = ''; $title_font_size = 'wpex-text-md'; if ( ! empty( $this->args['title_font_size'] ) && array_key_exists( $this->args['title_font_size'], wpex_utl_font_sizes() ) ) { $title_font_size = 'wpex-text-' . $this->args['title_font_size']; } if ( $title_font_size ) { $title_font_size = ' ' . trim( $title_font_size ); } if ( $this->post_id ) { $content_id = sanitize_html_class( get_post_field( 'post_name', $this->post_id ) ); if ( WPEX_VC_ACTIVE && $wpb_style = totaltheme_get_instance_of( 'Integration\WPBakery\Shortcode_Inline_Style' ) ) { $html .= $wpb_style->get_style( $this->post_id ); } } else { $content_id = 'wpex-card-toggle_1--' . sanitize_html_class( $this->get_var( 'running_count' ) ); } $atts = [ 'heading' => $this->get_the_title(), 'content_id' => $content_id, 'heading_el_class' => 'wpex-card-title wpex-heading wpex-child-inherit-color' . $title_font_size, 'icon_position' => 'right', 'heading_tag' => $this->get_title_tag(), 'animate' => 'true', 'icon_type' => 'angle', 'state' => 'closed', ]; if ( isset( $extra_atts ) ) { $atts = wp_parse_args( $extra_atts, $atts ); } $excerpt_args = [ 'length' => '-1', ]; $html .= vcex_do_shortcode_function( 'vcex_toggle', $atts, $this->get_the_excerpt( $excerpt_args ) ); return $html;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件