39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| $styles = [];
 | |
| foreach(range(1, 28) as $val) {
 | |
|     $styles[$val] = sprintf(esc_html__('Style %s', 'thinkai'), $val);
 | |
| }
 | |
| 
 | |
| return  array(
 | |
|     'title'      => esc_html__( 'General Setting', 'thinkai' ),
 | |
|     'id'         => 'general_setting',
 | |
|     'desc'       => '',
 | |
|     'icon'       => 'el el-wrench',
 | |
|     'fields'     => array(
 | |
|         array(
 | |
|             'id' => 'theme_preloader',
 | |
|             'type' => 'switch',
 | |
|             'title' => esc_html__('Enable Preloader', 'thinkai'),
 | |
|             'default' => false,
 | |
|         ),
 | |
| 		array(
 | |
|             'id' => 'mouse_cursor',
 | |
|             'type' => 'switch',
 | |
|             'title' => esc_html__('Enable Mouse Cursor ', 'thinkai'),
 | |
|             'default' => false,
 | |
|         ),
 | |
| 		array(
 | |
|             'id' => 'show_scroltop',
 | |
|             'type' => 'switch',
 | |
|             'title' => esc_html__('Enable Scroll To Top Button ', 'thinkai'),
 | |
|             'default' => false,
 | |
|         ),
 | |
| 		array(
 | |
| 			'id'       => 'scroltop_text',
 | |
| 			'type'     => 'text',
 | |
| 			'title'    => esc_html__( 'Button Text', 'thinkai' ),
 | |
| 			'required' => array( 'show_scroltop', '=', true ),
 | |
| 		),
 | |
|     ),
 | |
| );
 |