%PDF- %PDF-
Direktori : /home/t/r/a/tradesc/www/relax/wp-content/themes/flatsome/inc/builder/shortcodes/ |
Current File : /home/t/r/a/tradesc/www/relax/wp-content/themes/flatsome/inc/builder/shortcodes/divider.php |
<?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', */