<?php  

$luzukSliderSingleChoice = getFitnessPostsType('slider');
$wp_customize->add_section(
	'slider_section',
	array(
		'title' => __( 'Slider Section', 'Luzuk' ),
        'panel' => 'luzuk_premium_home_panel',
		'priority' =>18
	)
);
lzCustomLable($wp_customize, 'luzuk_sliderotherhome', 'slider_section', 'Home Slider:');

$wp_customize->add_setting(
	'premium_slider_show_content',
	array(
		'sanitize_callback' => 'luzuk_sanitize_text',
	)
);
$wp_customize->add_control(
	new luzuk_Switch_Control(
		$wp_customize,
		'premium_slider_show_content',
		array(
			'settings'      => 'premium_slider_show_content',
			'section'       => 'slider_section',
			'label'         => __( 'Hide Title and description on Slider', 'Luzuk' ),
			'on_off_label'  => array(
				'on' => __( 'No', 'Luzuk' ),
				'off' => __( 'Yes', 'Luzuk' )
			),
		)
	)
);
$wp_customize->add_setting('slider_section_lbl', array('sanitize_callback'=>'luzuk_sanitize_text'));
$wp_customize->add_control(
	new luzuk_Info_Text( 
		$wp_customize,
		'slider_section_lbl',
		array(
			'settings'		=> 'slider_section_lbl',
			'section'		=> 'slider_section',
			'label'			=> __( 'Note:', 'Luzuk' ),	
			'description'	=> __( 'The Page featured image works as a banner and the title & content work as a slider caption. You can add this from the Slider menu. <br/> Recommended Image Size: 1140X768', 'Luzuk' ),
		)
	)
);

lzCustomLable($wp_customize, 'luzuk_sliderotherclrs', 'slider_section', 'Slider Colors:');

addColorPalatOption($wp_customize, 'slider_titleColor', 'slider_section', 'Slider Title Color', '#202020');
addColorPalatOption($wp_customize, 'slider_SubtitleColor', 'slider_section', 'Slider Sub Title Color', '#383838');
addColorPalatOption($wp_customize, 'slider_ButtontColor', 'slider_section', 'Slider Button Text Color', '#fff');
addColorPalatOption($wp_customize, 'slider_ButtonbgColor', 'slider_section', 'Slider Button Background Color', '#0d61cc');

addColorPalatOption($wp_customize, 'slider_ButtonbghoverColor', 'slider_section', 'Slider Button Background Hover Color', '#ff0c12');

addColorPalatOption($wp_customize, 'slider_prevnextbtnColor', 'slider_section', 'Slider Next Prev Button Text Color', '#ff0c12');
addColorPalatOption($wp_customize, 'slider_prevnextbtnhoverColor', 'slider_section', 'Slider Next Prev Button Text Hover Color', '#0d61cc');
addColorPalatOption($wp_customize, 'slider_prevnextbtnborderColor', 'slider_section', 'Slider Next Prev Button Border Color', '#0d61cc');
addColorPalatOption($wp_customize, 'slider_prevnextbtnborderhoverColor', 'slider_section', 'Slider Next Prev Button Border Hover Color', '#ff0c12');

?>