Server IP : 104.21.14.103 / Your IP : 18.217.211.121 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/sieuthiweb.com.vn/wp-content/themes/flatsome/inc/builder/shortcodes/ |
Upload File : |
<?php add_ux_builder_shortcode( 'col_grid', array( 'type' => 'container', 'name' => __( 'Grid Item' ), 'category' => __( 'Layout' ), 'template' => flatsome_ux_builder_template( 'col_grid.html' ), 'tools' => 'shortcodes/col/col-tools.directive.html', 'info' => '{{ span }}/12', 'require' => array( 'row' ), 'allow' => array( 'ux_banner','ux_slider','ux_image'), 'resize' => array( 'right', 'bottom' ), 'scroll_to' => false, 'wrap' => false, 'inline' => true, 'nested' => true, 'children' => array( 'addable_spots' => array() ), 'presets' => array( array( 'name' => __( 'Default' ), 'content' => '[col_grid span="6"][/col_grid]', ), ), 'options' => array( 'span' => array( 'type' => 'col-slider', 'heading' => 'Width', 'full_width' => true, 'responsive' => true, 'auto_focus' => true, 'default' => 12, 'max' => 12, 'min' => 1, ), 'height' => array( 'type' => 'radio-buttons', 'heading' => 'Height', 'full_width' => true, 'default' => '1', 'options' => array( '1' => array( 'title' => '1-1'), '1-2' => array( 'title' => '1-2'), '1-3' => array( 'title' => '1-3'), '2-3' => array( 'title' => '2-3'), '1-4' => array( 'title' => '1-4'), '3-4' => array( 'title' => '3-4'), ), ), 'animate' => array( 'type' => 'select', 'heading' => 'Animate', 'options' => require( __DIR__ . '/values/animate.php' ), ), 'depth' => array( 'type' => 'slider', 'vertical' => true, 'heading' => 'Depth', 'default' => 0, 'max' => 5, 'min' => 0, ), 'depth_hover' => array( 'type' => 'slider', 'vertical' => true, 'heading' => 'Hover Depth', 'default' => 0, 'max' => 5, 'min' => 0, ), 'advanced_options' => require( __DIR__ . '/commons/advanced.php'), ), ) );