PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wpnull24
/
framework
/
plugins-support
/
js_composer
/
map
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Modifying shortcode: vc_tta_tour * * @var $shortcode string Current shortcode name * @var $config array Shortcode's config * * @param $config ['atts'] array Shortcode's attributes and default values */ $misc = us_config( 'elements_misc' ); if ( version_compare( WPB_VC_VERSION, '4.6', '<' ) ) { // Oops: the modified shorcode doesn't exist in current VC version. Doing nothing. return; } if ( ! vc_is_page_editable() ) { vc_remove_param( 'vc_tta_tour', 'title' ); vc_remove_param( 'vc_tta_tour', 'style' ); vc_remove_param( 'vc_tta_tour', 'shape' ); vc_remove_param( 'vc_tta_tour', 'color' ); vc_remove_param( 'vc_tta_tour', 'no_fill_content_area' ); vc_remove_param( 'vc_tta_tour', 'spacing' ); vc_remove_param( 'vc_tta_tour', 'gap' ); vc_remove_param( 'vc_tta_tour', 'tab_position' ); vc_remove_param( 'vc_tta_tour', 'alignment' ); vc_remove_param( 'vc_tta_tour', 'controls_size' ); vc_remove_param( 'vc_tta_tour', 'autoplay' ); vc_remove_param( 'vc_tta_tour', 'active_section' ); vc_remove_param( 'vc_tta_tour', 'pagination_style' ); vc_remove_param( 'vc_tta_tour', 'pagination_color' ); vc_remove_param( 'vc_tta_tour', 'css_animation' ); vc_update_shortcode_param( 'vc_tta_tour', array( 'param_name' => 'el_class', 'description' => '', 'edit_field_class' => 'vc_col-sm-6', 'weight' => 10, 'group' => us_translate( 'Design Options', 'js_composer' ), ) ); vc_update_shortcode_param( 'vc_tta_tour', array( 'param_name' => 'el_id', 'description' => '', 'edit_field_class' => 'vc_col-sm-6', 'group' => us_translate( 'Design Options', 'js_composer' ), ) ); vc_add_params( 'vc_tta_tour', array( array( 'param_name' => 'tab_position', 'heading' => __( 'Position', 'us' ), 'type' => 'dropdown', 'value' => array( us_translate( 'Left' ) => 'left', us_translate( 'Right' ) => 'right', ), 'std' => $config['atts']['tab_position'], 'edit_field_class' => 'vc_col-sm-4', 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 170, ), array( 'param_name' => 'c_align', 'heading' => us_translate( 'Alignment' ), 'type' => 'dropdown', 'value' => array( us_translate( 'Left' ) => 'left', us_translate( 'Center' ) => 'center', us_translate( 'Right' ) => 'right', ), 'std' => $config['atts']['c_align'], 'edit_field_class' => 'vc_col-sm-4', 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 160, ), array( 'param_name' => 'controls_size', 'heading' => us_translate( 'Width' ), 'type' => 'dropdown', 'value' => array( us_translate_x( 'Auto', 'auto preload' ) => 'auto', '10%' => '10', '20%' => '20', '30%' => '30', '40%' => '40', '50%' => '50', ), 'std' => $config['atts']['controls_size'], 'edit_field_class' => 'vc_col-sm-4', 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 150, ), array( 'param_name' => 'title_font', 'heading' => __( 'Font', 'us' ), 'type' => 'dropdown', 'value' => array_flip( us_get_fonts( 'without_groups' ) ), 'std' => $config['atts']['title_font'], 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 140, ), array( 'param_name' => 'title_weight', 'heading' => __( 'Font Weight', 'us' ), 'type' => 'dropdown', 'value' => array( us_translate( 'Default' ) => '', '100 ' . __( 'thin', 'us' ) => '100', '200 ' . __( 'extra-light', 'us' ) => '200', '300 ' . __( 'light', 'us' ) => '300', '400 ' . __( 'normal', 'us' ) => '400', '500 ' . __( 'medium', 'us' ) => '500', '600 ' . __( 'semi-bold', 'us' ) => '600', '700 ' . __( 'bold', 'us' ) => '700', '800 ' . __( 'extra-bold', 'us' ) => '800', '900 ' . __( 'ultra-bold', 'us' ) => '900', ), 'std' => $config['atts']['title_weight'], 'edit_field_class' => 'vc_col-sm-6', 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 130, ), array( 'param_name' => 'title_transform', 'heading' => __( 'Text Transform', 'us' ), 'type' => 'dropdown', 'value' => array( us_translate( 'Default' ) => '', us_translate( 'None' ) => 'none', 'UPPERCASE' => 'uppercase', 'lowercase' => 'lowercase', 'Capitalize' => 'capitalize', ), 'std' => $config['atts']['title_transform'], 'edit_field_class' => 'vc_col-sm-6', 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 125, ), array( 'param_name' => 'title_size', 'heading' => __( 'Font Size', 'us' ), 'description' => $misc['desc_font_size'], 'type' => 'textfield', 'std' => $config['atts']['title_size'], 'group' => us_translate( 'Tabs', 'js_composer' ), 'weight' => 120, ), array( 'param_name' => 'title_tag', 'heading' => __( 'Sections Title HTML tag', 'us' ), 'type' => 'dropdown', 'value' => $misc['html_tag_values'], 'std' => $config['atts']['title_tag'], 'weight' => 110, ), ) ); } // Setting proper shortcode order in VC shortcodes listing vc_map_update( 'vc_tta_tour', array( 'weight' => 300 ) );
[+]
..
[-] vc_video.php
[edit]
[-] vc_row.php
[edit]
[-] vc_tta_section.php
[edit]
[-] .map.php
[edit]
[-] vc_tta_tabs.php
[edit]
[-] vc_custom_heading.php
[edit]
[-] vc_tta_accordion.php
[edit]
[-] vc_column_text.php
[edit]
[-] vc_column_inner.php
[edit]
[-] vc_tta_tour.php
[edit]
[-] vc_column.php
[edit]
[-] vc_wp_custommenu.php
[edit]
[-] vc_row_inner.php
[edit]