balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

spinner.php (1152B)


      1 <?php
      2 /**
      3  * Redux Framework spinner config.
      4  * For full documentation, please visit: http://devs.redux.io/
      5  *
      6  * @package Redux Framework
      7  */
      8 
      9 defined( 'ABSPATH' ) || exit;
     10 
     11 Redux::set_section(
     12 	$opt_name,
     13 	array(
     14 		'title'      => esc_html__( 'Spinner', 'your-textdomain-here' ),
     15 		'id'         => 'slider_spinner-spinner',
     16 		'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/spinner.html" target="_blank">https://devs.redux.io/core-fields/spinner.html</a>',
     17 		'subsection' => true,
     18 		'fields'     => array(
     19 			array(
     20 				'id'          => 'opt-spinner',
     21 				'type'        => 'spinner',
     22 				'title'       => esc_html__( 'JQuery UI Spinner Example 1', 'your-textdomain-here' ),
     23 				'desc'        => esc_html__( 'JQuery UI spinner description. Min:20, max: 100, step:20, default value: 40', 'your-textdomain-here' ),
     24 				'default'     => '40',
     25 				'min'         => '20',
     26 				'step'        => '20',
     27 				'max'         => '100',
     28 				'suffix'      => '',
     29 				'output_unit' => '',
     30 				'output'      => array( '.heck-with-it' => 'max-width' ),
     31 			),
     32 		),
     33 	)
     34 );