<?php
/**
 * About Section options.
 *
 * @package voltmaster-electrician
 */

$voltmaster_electrician_default = voltmaster_electrician_get_default_theme_options();

/** About Info section */
$wp_customize->add_section(
    'voltmasterelectrician_featured_about_info_section',
    array(
        'title'    => __( 'About Info', 'voltmaster-electrician' ),      
        'priority' => 2,
        'panel'      => 'voltmaster_electrician_section_panel',       	
    )
);

// Enable Section
$wp_customize->add_setting('voltmasterelectrician_enable_featured_about_section', 
	array(
	'default' 			=> $voltmaster_electrician_default['voltmasterelectrician_enable_featured_about_section'],
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',
	'sanitize_callback' => 'voltmaster_electrician_sanitize_switch'
	)
);

$wp_customize->add_control('voltmasterelectrician_enable_featured_about_section', 
	array(		
	'label' 	=> __('Enable Section', 'voltmaster-electrician'),
	'section' 	=> 'voltmasterelectrician_featured_about_info_section',
	'settings'  => 'voltmasterelectrician_enable_featured_about_section',
	'type' 		=> 'checkbox',	
	)
);

$wp_customize->add_setting('voltmaster_electrician_featured_about_onload_effects', array(
    'default' => 'wow zoomIn',
    'sanitize_callback' => 'voltmaster_electrician_sanitize_choices',
));

$wp_customize->add_control('voltmaster_electrician_featured_about_onload_effects', array(
    'label' => __('Box Onload Transition Effects', 'voltmaster-electrician'),
    'section' => 'voltmasterelectrician_featured_about_info_section',
    'settings' => 'voltmaster_electrician_featured_about_onload_effects',
    'type' => 'select',
    'choices' => array(
        'wow bounceInLeft' => __('Bounce In Left', 'voltmaster-electrician'),
        'wow bounceInRight' => __('Bounce In Right', 'voltmaster-electrician'),
        'wow bounceInUp' => __('Bounce In Up', 'voltmaster-electrician'),
        'wow bounceInDown' => __('Bounce In Down', 'voltmaster-electrician'),
        'wow zoomIn' => __('Zoom In', 'voltmaster-electrician'),
        'wow zoomOut' => __('Zoom Out', 'voltmaster-electrician'),
        'wow fadeInDown' => __('Fade In Down', 'voltmaster-electrician'),
        'wow fadeInUp' => __('Fade In Up', 'voltmaster-electrician'),
        'wow fadeInLeft' => __('Fade In Left', 'voltmaster-electrician'),
        'wow fadeInRight' => __('Fade In Right', 'voltmaster-electrician'),
        'flip-up' => __('Flip Up', 'voltmaster-electrician'),
    ),
));


// Section Title
$wp_customize->add_setting('theme_options[featured_about_section_aboutus_subheading]', 
    array(
        'default'           => $voltmaster_electrician_default['featured_about_section_aboutus_subheading'],
        'type'              => 'theme_mod',
        'capability'        => 'edit_theme_options',	
        'sanitize_callback' => 'sanitize_text_field'
    )
);
$wp_customize->add_control('theme_options[featured_about_section_aboutus_subheading]', 
    array(
        'label'       => __('Heading', 'voltmaster-electrician'),
        'section'     => 'voltmasterelectrician_featured_about_info_section',   
        'settings'    => 'theme_options[featured_about_section_aboutus_subheading]',		
        'type'        => 'text'
    )
);

// // Section Title
$wp_customize->add_setting('theme_options[featured_about_section_aboutus_heading]', 
	array(
	'default'           => $voltmaster_electrician_default['featured_about_section_aboutus_heading'],
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',	
	'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control('theme_options[featured_about_section_aboutus_heading]', 
	array(
	'label'       => __('Sub Heading', 'voltmaster-electrician'),
	'section'     => 'voltmasterelectrician_featured_about_info_section',   
	'settings'    => 'theme_options[featured_about_section_aboutus_heading]',		
	'type'        => 'text'
	)
);

// // Section description
$wp_customize->add_setting('theme_options[featured_about_section_aboutus_description]', 
	array(
	'default'           => $voltmaster_electrician_default['featured_about_section_aboutus_description'],
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',	
	'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control('theme_options[featured_about_section_aboutus_description]', 
	array(
	'label'       => __('Description 1', 'voltmaster-electrician'),
	'section'     => 'voltmasterelectrician_featured_about_info_section',   
	'settings'    => 'theme_options[featured_about_section_aboutus_description]',		
	'type'        => 'text'
	)
);

// // Section Title
$wp_customize->add_setting('theme_options[featured_about_section_aboutus_heading1]', 
	array(
	'default'           => $voltmaster_electrician_default['featured_about_section_aboutus_heading1'],
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',	
	'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control('theme_options[featured_about_section_aboutus_heading1]', 
	array(
	'label'       => __('Description 2', 'voltmaster-electrician'),
	'section'     => 'voltmasterelectrician_featured_about_info_section',   
	'settings'    => 'theme_options[featured_about_section_aboutus_heading1]',		
	'type'        => 'text'
	)
);
	$wp_customize->add_setting('theme_options[featured_icon_about1]', array(
		'default'           => 'fas fa-comment-dots',
		'type'              => 'theme_mod',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field',
	));
	
	$wp_customize->add_control('theme_options[featured_icon_about1]', array(
		'label'    => __('Plan Icon 1', 'voltmaster-electrician'),
		'section'  => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_icon_about1]',
		'type'     => 'text',
	));
	

// Section Sub Title
$wp_customize->add_setting(
	'theme_options[featured_about_section_bxtitle1]',
	array(
		'default' => $voltmaster_electrician_default['featured_about_section_bxtitle1'],
		'type' => 'theme_mod',
		'capability' => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control(
	'theme_options[featured_about_section_bxtitle1]',
	array(
		'label' => __('Plan Title 1', 'voltmaster-electrician'),
		'section' => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_about_section_bxtitle1]',
		'type' => 'text'
	)
);
$wp_customize->add_setting(
	'theme_options[featured_about_section_bxtext1]',
	array(
		'default' => $voltmaster_electrician_default['featured_about_section_bxtext1'],
		'type' => 'theme_mod',
		'capability' => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control(
	'theme_options[featured_about_section_bxtext1]',
	array(
		'label' => __('Plan Text 1', 'voltmaster-electrician'),
		'section' => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_about_section_bxtext1]',
		'type' => 'text'
	)
);
$wp_customize->add_setting('theme_options[featured_icon_about2]', array(
	'default'           => 'fas fa-cloud',
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',
	'sanitize_callback' => 'sanitize_text_field',
));

$wp_customize->add_control('theme_options[featured_icon_about2]', array(
	'label'    => __('Plan Icon 1', 'voltmaster-electrician'),
	'section'  => 'voltmasterelectrician_featured_about_info_section',
	'settings' => 'theme_options[featured_icon_about2]',
	'type'     => 'text',
));
// Section Sub Title
$wp_customize->add_setting(
	'theme_options[featured_about_section_bxtitle2]',
	array(
		'default' => $voltmaster_electrician_default['featured_about_section_bxtitle2'],
		'type' => 'theme_mod',
		'capability' => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control(
	'theme_options[featured_about_section_bxtitle2]',
	array(
		'label' => __('Plan Title 2', 'voltmaster-electrician'),
		'section' => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_about_section_bxtitle2]',
		'type' => 'text'
	)
);

$wp_customize->add_setting(
	'theme_options[featured_about_section_bxtext2]',
	array(
		'default' => $voltmaster_electrician_default['featured_about_section_bxtext2'],
		'type' => 'theme_mod',
		'capability' => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control(
	'theme_options[featured_about_section_bxtext2]',
	array(
		'label' => __('Plan Text 2', 'voltmaster-electrician'),
		'section' => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_about_section_bxtext2]',
		'type' => 'text'
	)
);
$wp_customize->add_setting('theme_options[featured_icon_about3]', array(
	'default'           => 'fas fa-video',
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',
	'sanitize_callback' => 'sanitize_text_field',
));

$wp_customize->add_control('theme_options[featured_icon_about3]', array(
	'label'    => __('Plan Icon 1', 'voltmaster-electrician'),
	'section'  => 'voltmasterelectrician_featured_about_info_section',
	'settings' => 'theme_options[featured_icon_about3]',
	'type'     => 'text',
));
// Section Sub Text
$wp_customize->add_setting(
	'theme_options[featured_about_section_bxtitle3]',
	array(
		'default' => $voltmaster_electrician_default['featured_about_section_bxtitle3'],
		'type' => 'theme_mod',
		'capability' => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control(
	'theme_options[featured_about_section_bxtitle3]',
	array(
		'label' => __('Plan Title 1', 'voltmaster-electrician'),
		'section' => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_about_section_bxtitle3]',
		'type' => 'text'
	)
);

$wp_customize->add_setting(
	'theme_options[featured_about_section_bxtext3]',
	array(
		'default' => $voltmaster_electrician_default['featured_about_section_bxtext3'],
		'type' => 'theme_mod',
		'capability' => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field'
	)
);
$wp_customize->add_control(
	'theme_options[featured_about_section_bxtext3]',
	array(
		'label' => __('Plan Text 3', 'voltmaster-electrician'),
		'section' => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_about_section_bxtext3]',
		'type' => 'text'
	)
);





	$wp_customize->add_setting('theme_options[featured_icon_about4]', array(
	'default' => $voltmaster_electrician_default['featured_icon_about4'],
		'type'              => 'theme_mod',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field',
	));
	
	$wp_customize->add_control('theme_options[featured_icon_about4]', array(
		'label'    => __('Icon 1', 'voltmaster-electrician'),
		'section'  => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_icon_about4]',
		'type'     => 'text',
	));

	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxtitle4]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxtitle4'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxtitle4]',
		array(
			'label' => __('Icon 1 Number', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxtitle4]',
			'type' => 'text'
		)
	);
	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxtext4]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxtext4'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxtext4]',
		array(
			'label' => __('Icon 1 Text', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxtext4]',
			'type' => 'text'
		)
	);


	$wp_customize->add_setting('theme_options[featured_icon_about5]', array(
	'default' => $voltmaster_electrician_default['featured_icon_about5'],
		'type'              => 'theme_mod',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field',
	));
	
	$wp_customize->add_control('theme_options[featured_icon_about5]', array(
		'label'    => __('Icon 2', 'voltmaster-electrician'),
		'section'  => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_icon_about5]',
		'type'     => 'text',
	));

	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxicon2_number]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxicon2_number'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxicon2_number]',
		array(
			'label' => __('Icon 2 Number', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxicon2_number]',
			'type' => 'text'
		)
	);
	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxticon2_text]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxticon2_text'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxticon2_text]',
		array(
			'label' => __('Icon 2 Text', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxticon2_text]',
			'type' => 'text'
		)
	);


	$wp_customize->add_setting('theme_options[featured_icon_about6]', array(
	'default' => $voltmaster_electrician_default['featured_icon_about6'],
		'type'              => 'theme_mod',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('theme_options[featured_icon_about6]', array(
		'label'    => __('Icon 3', 'voltmaster-electrician'),
		'section'  => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_icon_about6]',
		'type'     => 'text',
	));

	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxicon3_number]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxicon3_number'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxicon3_number]',
		array(
			'label' => __('Icon 3 Number', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxicon3_number]',
			'type' => 'text'
		)
	);
	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxticon3_text]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxticon3_text'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxticon3_text]',
		array(
			'label' => __('Icon 3 Text', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxticon3_text]',
			'type' => 'text'
		)
	);

	$wp_customize->add_setting('theme_options[featured_icon_about7]', array(
	'default' => $voltmaster_electrician_default['featured_icon_about7'],
		'type'              => 'theme_mod',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('theme_options[featured_icon_about7]', array(
		'label'    => __('Icon 4', 'voltmaster-electrician'),
		'section'  => 'voltmasterelectrician_featured_about_info_section',
		'settings' => 'theme_options[featured_icon_about7]',
		'type'     => 'text',
	));
	
	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxicon4_number]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxicon4_number'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxicon4_number]',
		array(
			'label' => __('Icon 4 Number', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxicon4_number]',
			'type' => 'text'
		)
	);
	$wp_customize->add_setting(
		'theme_options[featured_about_section_bxticon4_text]',
		array(
			'default' => $voltmaster_electrician_default['featured_about_section_bxticon4_text'],
			'type' => 'theme_mod',
			'capability' => 'edit_theme_options',
			'sanitize_callback' => 'sanitize_text_field'
		)
	);
	$wp_customize->add_control(
		'theme_options[featured_about_section_bxticon4_text]',
		array(
			'label' => __('Icon 4 Text', 'voltmaster-electrician'),
			'section' => 'voltmasterelectrician_featured_about_info_section',
			'settings' => 'theme_options[featured_about_section_bxticon4_text]',
			'type' => 'text'
		)
	);