Server IP : 104.21.14.103 / Your IP : 18.218.182.50 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 : /proc/self/root/home/giankuin/dietcontrungnhanh.com/wp-content/themes/flatsome/inc/builder/shortcodes/ |
Upload File : |
<?php add_ux_builder_shortcode( 'divider', array( 'name' => __( 'Divider' ), 'category' => __( 'Content' ), 'template' => flatsome_ux_builder_template( 'divider.html' ), 'thumbnail' => flatsome_ux_builder_thumbnail( 'divider' ), 'options' => array( 'align' => array( 'type' => 'radio-buttons', 'heading' => __('Align'), 'default' => '', 'options' => require( __DIR__ . '/values/align-radios.php' ), ), 'width' => array( 'type' => 'scrubfield', 'heading' => __('Width'), 'default' => '30px', 'min' => 0, ), 'height' => array( 'type' => 'scrubfield', 'heading' => __('Height'), 'default' => '3px', 'min' => 0, ), 'margin' => array( 'type' => 'scrubfield', 'heading' => __('Margin'), 'default' => '1.0em', 'step' => 0.1, ), 'color' => array( 'type' => 'colorpicker', 'heading' => __('Color'), 'default' => '', 'alpha' => true, 'format' => 'rgb', 'position' => 'bottom right', ), ) ) ); /* 'width' => 'small', 'height' => '', 'align' => 'left', */