AlkantarClanX12
Current Path : /home/thanudqk/128shen.com/wp-content/plugins/js_composer/config/containers/ |
Current File : /home/thanudqk/128shen.com/wp-content/plugins/js_composer/config/containers/shortcode-vc-column.php |
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * @var $tag - shortcode tag; */ return array( 'name' => esc_html__( 'Column', 'js_composer' ), 'icon' => 'icon-wpb-row', 'is_container' => true, 'content_element' => false, 'description' => esc_html__( 'Place content elements inside the column', 'js_composer' ), 'params' => array( array( 'type' => 'checkbox', 'heading' => esc_html__( 'Use video background?', 'js_composer' ), 'param_name' => 'video_bg', 'description' => esc_html__( 'If checked, video will be used as row background.', 'js_composer' ), 'value' => array( esc_html__( 'Yes', 'js_composer' ) => 'yes' ), ), array( 'type' => 'textfield', 'heading' => esc_html__( 'YouTube link', 'js_composer' ), 'param_name' => 'video_bg_url', 'value' => 'https://www.youtube.com/watch?v=lMJXxhRFO1k', // default video url 'description' => esc_html__( 'Add YouTube link.', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Parallax', 'js_composer' ), 'param_name' => 'video_bg_parallax', 'value' => array( esc_html__( 'None', 'js_composer' ) => '', esc_html__( 'Simple', 'js_composer' ) => 'content-moving', esc_html__( 'With fade', 'js_composer' ) => 'content-moving-fade', ), 'description' => esc_html__( 'Add parallax type background for row.', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'not_empty' => true, ), ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Parallax', 'js_composer' ), 'param_name' => 'parallax', 'value' => array( esc_html__( 'None', 'js_composer' ) => '', esc_html__( 'Simple', 'js_composer' ) => 'content-moving', esc_html__( 'With fade', 'js_composer' ) => 'content-moving-fade', ), 'description' => esc_html__( 'Add parallax type background for row (Note: If no image is specified, parallax will use background image from Design Options).', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg', 'is_empty' => true, ), ), array( 'type' => 'attach_image', 'heading' => esc_html__( 'Image', 'js_composer' ), 'param_name' => 'parallax_image', 'value' => '', 'description' => esc_html__( 'Select image from media library.', 'js_composer' ), 'dependency' => array( 'element' => 'parallax', 'not_empty' => true, ), ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Parallax speed', 'js_composer' ), 'param_name' => 'parallax_speed_video', 'value' => '1.5', 'description' => esc_html__( 'Enter parallax speed ratio (Note: Default value is 1.5, min value is 1)', 'js_composer' ), 'dependency' => array( 'element' => 'video_bg_parallax', 'not_empty' => true, ), ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Parallax speed', 'js_composer' ), 'param_name' => 'parallax_speed_bg', 'value' => '1.5', 'description' => esc_html__( 'Enter parallax speed ratio (Note: Default value is 1.5, min value is 1)', 'js_composer' ), 'dependency' => array( 'element' => 'parallax', 'not_empty' => true, ), ), vc_map_add_css_animation( false ), array( 'type' => 'el_id', 'heading' => esc_html__( 'Element ID', 'js_composer' ), 'param_name' => 'el_id', 'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '<a href="https://www.w3schools.com/tags/att_global_id.asp" target="_blank">', '</a>' ), ), array( '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' ), ), array( 'type' => 'css_editor', 'heading' => esc_html__( 'CSS box', 'js_composer' ), 'param_name' => 'css', 'group' => esc_html__( 'Design Options', 'js_composer' ), ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Width', 'js_composer' ), 'param_name' => 'width', 'value' => array( esc_html__( '1 column - 1/12', 'js_composer' ) => '1/12', esc_html__( '2 columns - 1/6', 'js_composer' ) => '1/6', esc_html__( '3 columns - 1/4', 'js_composer' ) => '1/4', esc_html__( '4 columns - 1/3', 'js_composer' ) => '1/3', esc_html__( '5 columns - 5/12', 'js_composer' ) => '5/12', esc_html__( '6 columns - 1/2', 'js_composer' ) => '1/2', esc_html__( '7 columns - 7/12', 'js_composer' ) => '7/12', esc_html__( '8 columns - 2/3', 'js_composer' ) => '2/3', esc_html__( '9 columns - 3/4', 'js_composer' ) => '3/4', esc_html__( '10 columns - 5/6', 'js_composer' ) => '5/6', esc_html__( '11 columns - 11/12', 'js_composer' ) => '11/12', esc_html__( '12 columns - 1/1', 'js_composer' ) => '1/1', esc_html__( '20% - 1/5', 'js_composer' ) => '1/5', esc_html__( '40% - 2/5', 'js_composer' ) => '2/5', esc_html__( '60% - 3/5', 'js_composer' ) => '3/5', esc_html__( '80% - 4/5', 'js_composer' ) => '4/5', ), 'group' => esc_html__( 'Responsive Options', 'js_composer' ), 'description' => esc_html__( 'Select column width.', 'js_composer' ), 'std' => '1/1', ), array( 'type' => 'column_offset', 'heading' => esc_html__( 'Responsiveness', 'js_composer' ), 'param_name' => 'offset', 'group' => esc_html__( 'Responsive Options', 'js_composer' ), 'description' => esc_html__( 'Adjust column for different screen sizes. Control width, offset and visibility settings.', 'js_composer' ), ), ), 'js_view' => 'VcColumnView', );