| Server IP : 94.177.215.211 / Your IP : 216.73.216.172 Web Server : nginx/1.26.0 System : Linux mtncompany-wp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source,eval MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sites/morsiesorsi/wp-content/plugins/js_composer/config/deprecated/ |
Upload File : |
<?php
/**
* Configuration file for [vc_tabs] shortcode of 'Old Tabs' element.
*
* @see https://kb.wpbakery.com/docs/inner-api/vc_map/ for more detailed information about element attributes.
* @depreacted 4.6
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return [
'name' => esc_html__( 'Old Tabs', 'js_composer' ),
'base' => 'vc_tabs',
'show_settings_on_create' => false,
'is_container' => true,
'icon' => 'icon-wpb-ui-tab-content',
'category' => esc_html__( 'Content', 'js_composer' ),
'deprecated' => '4.6',
'description' => esc_html__( 'Tabbed content', 'js_composer' ),
'params' => [
[
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'Enter text used as widget title (Note: located above content element).', 'js_composer' ),
],
[
'type' => 'dropdown',
'heading' => esc_html__( 'Auto rotate', 'js_composer' ),
'param_name' => 'interval',
'value' => [
esc_html__( 'Disable', 'js_composer' ) => 0,
3,
5,
10,
15,
],
'std' => 0,
'description' => esc_html__( 'Auto rotate tabs each X seconds.', 'js_composer' ),
],
[
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
],
],
'custom_markup' => '
<div class="wpb_tabs_holder wpb_holder vc_container_for_children">
<ul class="tabs_controls">
</ul>
%content%
</div>',
'default_content' => '
[vc_tab title="' . esc_html__( 'Tab 1', 'js_composer' ) . '" tab_id=""][/vc_tab]
[vc_tab title="' . esc_html__( 'Tab 2', 'js_composer' ) . '" tab_id=""][/vc_tab]
',
'js_view' => 'VcTabsView',
];