文件操作 - vc_tta_accordion.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/config/elements/vc_tta_accordion.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Configuration for shortcode: vc_column_accordion */ $misc = us_config( 'elements_misc' ); $design_options_params = us_config( 'elements_design_options' ); /** * General section * * @var array */ $general_params = array( 'toggle' => array( 'switch_text' => __( 'Allow several sections to be opened at the same time', 'us' ), 'type' => 'switch', 'std' => FALSE, 'usb_preview' => TRUE, ), 'scrolling' => array( 'switch_text' => __( 'Scroll to the beginning of the section when opening', 'us' ), 'type' => 'switch', 'std' => '1', 'show_if' => array( 'toggle', '=', FALSE ), 'usb_preview' => TRUE, ), 'remove_indents' => array( 'switch_text' => __( 'Remove left and right indents', 'us' ), 'type' => 'switch', 'std' => FALSE, 'usb_preview' => array( 'toggle_class' => 'remove_indents', ), ), 'faq_markup' => array( 'switch_text' => __( 'Add FAQ structured data markup', 'us' ), 'type' => 'switch', 'std' => FALSE, ), 'c_align' => array( 'title' => __( 'Title Alignment', 'us' ), 'type' => 'radio', 'labels_as_icons' => 'fas fa-align-*', 'options' => array( 'none' => us_translate( 'Default' ), 'center' => us_translate( 'Center' ), ), 'std' => 'none', 'usb_preview' => array( 'elm' => '.w-tabs-sections', 'mod' => 'titles-align', ), ), 'title_size' => array( 'title' => __( 'Title Size', 'us' ), 'description' => $misc['desc_font_size'], 'type' => 'text', 'std' => 'inherit', 'cols' => 2, 'usb_preview' => array( 'css' => '--sections-title-size', ), ), 'title_tag' => array( 'title' => __( 'Title HTML tag', 'us' ), 'type' => 'select', 'options' => $misc['html_tag_values'], 'std' => 'div', 'cols' => 2, 'usb_preview' => array( 'elm' => '.w-tabs-section-title', 'attr' => 'tag', ), ), 'c_icon' => array( 'title' => __( 'Control Icon', 'us' ), 'type' => 'radio', 'options' => array( '' => us_translate( 'None' ), 'chevron' => __( 'Chevron', 'us' ), 'plus' => __( 'Plus', 'us' ), 'triangle' => __( 'Triangle', 'us' ), ), 'std' => 'chevron', 'cols' => 2, 'usb_preview' => array( 'elm' => '.w-tabs-sections', 'mod' => 'icon', ), ), 'c_position' => array( 'title' => __( 'Control Position', 'us' ), 'type' => 'radio', 'options' => array( 'left' => __( 'Before title', 'us' ), 'right' => __( 'After title', 'us' ), ), 'std' => 'right', 'cols' => 2, 'show_if' => array( 'c_icon', '!=', '' ), 'usb_preview' => array( 'elm' => '.w-tabs-sections', 'mod' => 'cpos', ), ), ); /** * @return array */ return array( 'title' => us_translate( 'Accordion', 'js_composer' ), 'category' => __( 'Containers', 'us' ), 'icon' => 'fas fa-plus-square', 'is_container' => TRUE, 'weight' => 370, // go after all US elements, which have "380" weight 'as_child' => array( 'except' => 'vc_tta_section', ), 'as_parent' => array( 'only' => 'vc_tta_section', ), 'params' => us_set_params_weight( $general_params, $design_options_params ), // Default VC params which are not supported by the theme 'vc_remove_params' => array( 'active_section', 'autoplay', 'collapsible_all', 'color', 'css_animation', 'gap', 'no_fill', 'shape', 'spacing', 'style', 'title', ), 'usb_init_js' => '$elm.wTabs()', );
修改文件时间
将文件时间修改为当前时间的前一年
删除文件