Sindbad~EG File Manager
<?php
/**
* Section Advance features
*
* @package Thim_Starter_Theme
*/
thim_customizer()->add_section(
array(
'id' => 'advanced',
'panel' => 'general',
'priority' => 90,
'title' => esc_html__( 'Extra Features', 'realpro' ),
)
);
// Feature: Back To Top
thim_customizer()->add_field(
array(
'type' => 'switch',
'id' => 'feature_backtotop',
'label' => esc_html__( 'Back To Top', 'realpro' ),
'tooltip' => esc_html__( 'Turn on to enable the Back To Top script which adds the scrolling to top functionality.', 'realpro' ),
'section' => 'advanced',
'default' => true,
'priority' => 40,
'choices' => array(
true => esc_html__( 'On', 'realpro' ),
false => esc_html__( 'Off', 'realpro' ),
),
)
);
// Feature: Preload
thim_customizer()->add_field( array(
'type' => 'radio-image',
'id' => 'theme_feature_preloading',
'section' => 'advanced',
'label' => esc_html__( 'Preloading', 'realpro' ),
'default' => 'off',
'priority' => 70,
'choices' => array(
'off' => THIM_URI . 'images/preloading/off.jpg',
'chasing-dots' => THIM_URI . 'images/preloading/chasing-dots.gif',
'circle' => THIM_URI . 'images/preloading/circle.gif',
'cube-grid' => THIM_URI . 'images/preloading/cube-grid.gif',
'double-bounce' => THIM_URI . 'images/preloading/double-bounce.gif',
'fading-circle' => THIM_URI . 'images/preloading/fading-circle.gif',
'folding-cube' => THIM_URI . 'images/preloading/folding-cube.gif',
'rotating-plane' => THIM_URI . 'images/preloading/rotating-plane.gif',
'spinner-pulse' => THIM_URI . 'images/preloading/spinner-pulse.gif',
'three-bounce' => THIM_URI . 'images/preloading/three-bounce.gif',
'wandering-cubes' => THIM_URI . 'images/preloading/wandering-cubes.gif',
'wave' => THIM_URI . 'images/preloading/wave.gif',
),
'wrapper_attrs' => array(
'class' => '{default_class} thim-col-4'
)
) );
// Feature: Preload Colors
thim_customizer()->add_field( array(
'type' => 'multicolor',
'id' => 'theme_feature_preloading_style',
'label' => esc_html__( 'Preloading Color', 'realpro' ),
'section' => 'advanced',
'priority' => 90,
'choices' => array(
'background' => esc_html__( 'Background Color', 'realpro' ),
'color' => esc_html__( 'Icon Color', 'realpro' ),
),
'default' => array(
'background' => '#ffffff',
'color' => '#333333',
),
'active_callback' => array(
array(
'setting' => 'theme_feature_preloading',
'operator' => '!=',
'value' => 'off',
),
),
) );
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists