<?php
	
	/*------------------------------------ Popular Courses Section -------------------------------------*/
	$args = array(
   	'type'                     => 'courses',
    'child_of'                 => 0,
    'parent'                   => '',
    'orderby'                  => 'term_group',
    'order'                    => 'ASC',
    'hide_empty'               => false,
    'hierarchical'             => 1,
    'number'                   => '',
    'taxonomy'                 => 'createcategory',
    'pad_counts'               => false
	);
	$categories = get_categories( $args );
	$cats = array();
	$i = 0;
	foreach($categories as $category){
		$cats[$category->name] = $category->name;
	}
	$wp_customize->add_section('advance_education_pro_popular_courses_section',array(
		'title'	=> __('Popular Courses Section','advance-education-pro'),
		'description'	=> __('Add Popular Courses  Section Details here.','advance-education-pro'),
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_popular_courses_enable',
	    array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_popular_courses_enable',
	    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_popular_courses_section',
        'choices' => array(
        'Enable' => __('Enable', 'advance-education-pro'),
        'Disable' => __('Disable', 'advance-education-pro')
	    ),
	));

	$wp_customize->add_setting( 'advance_education_pro_popular_course_section_back_settings',
    array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_popular_course_section_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_popular_courses_section'
	)));

	$wp_customize->add_setting( 'advance_education_pro_popular_courses_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_popular_courses_bgcolor', array(
		'label' => __('Section Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_popular_courses_bgcolor',
	)));

	$wp_customize->add_setting('advance_education_pro_popular_courses_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control( $wp_customize,'advance_education_pro_popular_courses_bgimage',array(
        'label' => __('Section Background Image(1280 X 720)','advance-education-pro'),
        'section' => 'advance_education_pro_popular_courses_section',
        'settings' => 'advance_education_pro_popular_courses_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_popular_courses_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	  $wp_customize->add_control('advance_education_pro_popular_courses_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_popular_courses_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_popular_course_content_settings',
    array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_popular_course_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_popular_courses_section'
	)));

	$wp_customize->add_setting('advance_education_pro_popular_courses_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_popular_courses_title',array(
		'label'	=> __('Section Main Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_popular_courses_section',
		'setting'	=> 'advance_education_pro_popular_courses_title',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_popular_courses_subtitle',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_popular_courses_subtitle',array(
		'label'	=> __('Section Subtitle','advance-education-pro'),
		'section'	=> 'advance_education_pro_popular_courses_section',
		'setting'	=> 'advance_education_pro_popular_courses_subtitle',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_popular_courses_category',array(
			'sanitize_callback' => 'sanitize_text_field',
		));
		$wp_customize->add_control('advance_education_pro_popular_courses_category',array(
			'type'    => 'select',
			'choices' => $cats,
			'label' => __('Select Category','advance-education-pro'),
			'section' => 'advance_education_pro_popular_courses_section',
			'settings' => 'advance_education_pro_popular_courses_category',
	));

	$wp_customize->add_setting( 'advance_education_pro_popular_course_color_settings',
    array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_popular_course_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_popular_courses_section'
	)));
		
	$wp_customize->add_setting( 'advance_education_pro_popular_courses_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_popular_courses_title_color', array(
		'label' => __('Popular Courses Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_popular_courses_title_color',
	)));
	$wp_customize->add_setting('advance_education_pro_popular_courses_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_popular_courses_title_fonts', array(
	    'section'  => 'advance_education_pro_popular_courses_section',
	    'label'    => __( 'Popular Courses Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_popular_courses_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_popular_courses_text_color', array(
		'label' => __('Popular Courses Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_popular_courses_text_color',
	)));

	$wp_customize->add_setting('advance_education_pro_popular_courses_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_popular_courses_text_fonts', array(
	    'section'  => 'advance_education_pro_popular_courses_section',
	    'label'    => __( 'Popular Courses Text Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_popular_name_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_popular_name_color', array(
		'label' => __('Course Name Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_popular_name_color',
	)));
	$wp_customize->add_setting('advance_education_pro_popular_name_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_popular_name_fonts', array(
	    'section'  => 'advance_education_pro_popular_courses_section',
	    'label'    => __( 'Course Name Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_popular_name_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_popular_name_text_color', array(
		'label' => __('Course Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_popular_name_text_color',
	)));
	$wp_customize->add_setting('advance_education_pro_popular_name_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_popular_name_text_fonts', array(
	    'section'  => 'advance_education_pro_popular_courses_section',
	    'label'    => __( 'Course Text Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_popular_meta_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_popular_meta_color', array(
		'label' => __('Meta Fields Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_popular_meta_color',
	)));
	$wp_customize->add_setting('advance_education_pro_popular_meta_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_popular_meta_fonts', array(
	    'section'  => 'advance_education_pro_popular_courses_section',
	    'label'    => __( 'Meta Fields Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_course_meta_icon_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_course_meta_icon_color', array(
		'label' => __('Meta Icons Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_popular_courses_section',
		'settings' => 'advance_education_pro_course_meta_icon_color',
	)));
	
	
	
	/*----------------------------------Search Section-------------------------------*/
	$wp_customize->add_section('advance_education_pro_search_section',array(
		'title'	=> __('Search Section','advance-education-pro'),
		'description'	=> __('Add Search Section Details here.','advance-education-pro'),
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_search_enable',
	    array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_search_enable',
	    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_search_section',
        'choices' => array(
        'Enable' => __('Enable', 'advance-education-pro'),
        'Disable' => __('Disable', 'advance-education-pro')
	    ),
	));
	$wp_customize->add_setting( 'advance_education_pro_search_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_search_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_search_section'
	)));
		

	$wp_customize->add_setting( 'advance_education_pro_search_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_search_bgcolor', array(
		'label' => __('Section Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_search_section',
		'settings' => 'advance_education_pro_search_bgcolor',
	)));

	$wp_customize->add_setting('advance_education_pro_search_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control( $wp_customize,'advance_education_pro_search_bgimage',array(
        'label' => __('Section Background Image (1600 X 444)','advance-education-pro'),
        'section' => 'advance_education_pro_search_section',
        'settings' => 'advance_education_pro_search_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_search_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	  $wp_customize->add_control('advance_education_pro_search_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_search_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_search_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_search_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_search_section'
	)));
		
	$wp_customize->add_setting('advance_education_pro_search_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_search_title',array(
		'label'	=> __('Section Main Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_search_section',
		'setting'	=> 'advance_education_pro_search_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_default_dropdown_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_default_dropdown_title',array(
		'label'	=> __('Select Course Category 1','advance-education-pro'),
		'section'	=> 'advance_education_pro_search_section',
		'setting'	=> 'advance_education_pro_default_dropdown_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_search_price',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_search_price',array(
		'label'	=> __('Select Course Category 2','advance-education-pro'),
		'section'	=> 'advance_education_pro_search_section',
		'setting'	=> 'advance_education_pro_search_price',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_search_course_keyword',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_search_course_keyword',array(
		'label'	=> __('Select Course Category 3','advance-education-pro'),
		'section'	=> 'advance_education_pro_search_section',
		'setting'	=> 'advance_education_pro_search_course_keyword',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_search_courses_label',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_search_courses_label',array(
		'label'	=> __('Select Course Category 4','advance-education-pro'),
		'section'	=> 'advance_education_pro_search_section',
		'setting'	=> 'advance_education_pro_search_courses_label',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_search_page_settings',array(
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_search_page_settings',array(
		'type' => 'dropdown-pages',
		'label' => __('Choose a search page','advance-education-pro'),
		'section' => 'advance_education_pro_search_section',
	));

	$wp_customize->add_setting( 'advance_education_pro_search_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_search_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_search_section'
	)));

	$wp_customize->add_setting( 'advance_education_pro_search_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_search_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_search_section',
		'settings' => 'advance_education_pro_search_title_color',
	)));

	$wp_customize->add_setting('advance_education_pro_search_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_search_title_fonts', array(
	    'section'  => 'advance_education_pro_search_section',
	    'label'    => __( 'Section Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_search_course_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_search_course_color', array(
		'label' => __('Search Courses Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_search_section',
		'settings' => 'advance_education_pro_search_course_color',
	)));

	$wp_customize->add_setting('advance_education_pro_search_course_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_search_course_fonts', array(
	    'section'  => 'advance_education_pro_search_section',
	    'label'    => __( 'Search Courses Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_search_course_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_search_course_bgcolor', array(
		'label' => __('Search Courses Background Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_search_section',
		'settings' => 'advance_education_pro_search_course_bgcolor',
	)));

	$wp_customize->add_setting( 'advance_education_pro_search_course_category', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_search_course_category', array(
		'label' => __('Category Courses Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_search_section',
		'settings' => 'advance_education_pro_search_course_category',
	)));

	$wp_customize->add_setting('advance_education_pro_category_course_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_category_course_fonts', array(
	    'section'  => 'advance_education_pro_search_section',
	    'label'    => __( 'Category Courses Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	/*------------------------------Our Courses Section------------------------------*/
	$wp_customize->add_section('advance_education_pro_our_courses_section',array(
		'title'	=> __('Our Courses','advance-education-pro'),
		'description'	=> __('Add Our Courses Details here.','advance-education-pro'),
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_our_courses_enable',
	    array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_our_courses_enable',
	    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_our_courses_section',
        'choices' => array(
        'Enable' => __('Enable', 'advance-education-pro'),
        'Disable' => __('Disable', 'advance-education-pro')
	    ),
	));
	$wp_customize->add_setting( 'advance_education_pro_our_courses_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_our_courses_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_our_courses_section'
	)));

	$wp_customize->add_setting( 'advance_education_pro_our_courses_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_courses_bgcolor', array(
		'label' => __('Section Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_courses_section',
		'settings' => 'advance_education_pro_our_courses_bgcolor',
	)));

	$wp_customize->add_setting('advance_education_pro_our_courses_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control( $wp_customize,'advance_education_pro_our_courses_bgimage',array(
        'label' => __('Section Background Image (1280 X 720)','advance-education-pro'),
        'section' => 'advance_education_pro_our_courses_section',
        'settings' => 'advance_education_pro_our_courses_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_our_courses_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	  $wp_customize->add_control('advance_education_pro_our_courses_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_our_courses_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_our_courses_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_our_courses_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_our_courses_section'
	)));

	$wp_customize->add_setting('advance_education_pro_our_courses_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_our_courses_title',array(
		'label'	=> __('Section Main Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_our_courses_section',
		'setting'	=> 'advance_education_pro_our_courses_title',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_our_courses_subtitle',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_our_courses_subtitle',array(
		'label'	=> __('Section Subtitle','advance-education-pro'),
		'section'	=> 'advance_education_pro_our_courses_section',
		'setting'	=> 'advance_education_pro_our_courses_subtitle',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_our_courses_category',array(
			'sanitize_callback' => 'sanitize_text_field',
		));
		$wp_customize->add_control('advance_education_pro_our_courses_category',array(
			'type'    => 'select',
			'choices' => $cats,
			'label' => __('Select Category','advance-education-pro'),
			'section' => 'advance_education_pro_our_courses_section',
			'settings' => 'advance_education_pro_our_courses_category',
	));
	$wp_customize->add_setting( 'advance_education_pro_our_courses_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_our_courses_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_our_courses_section'
	)));	
	$wp_customize->add_setting( 'advance_education_pro_courses_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_courses_title_color', array(
		'label' => __('Courses Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_courses_section',
		'settings' => 'advance_education_pro_courses_title_color',
	)));

	$wp_customize->add_setting('advance_education_pro_courses_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_courses_title_fonts', array(
	    'section'  => 'advance_education_pro_our_courses_section',
	    'label'    => __( 'Courses Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	
	$wp_customize->add_setting( 'advance_education_pro_courses_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_courses_text_color', array(
		'label' => __('Courses Subtitle Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_courses_section',
		'settings' => 'advance_education_pro_courses_text_color',
	)));

	$wp_customize->add_setting('advance_education_pro_courses_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_courses_text_fonts', array(
	    'section'  => 'advance_education_pro_our_courses_section',
	    'label'    => __( 'Courses Subtitle Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_courses_names_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_courses_names_color', array(
		'label' => __('Courses Names Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_courses_section',
		'settings' => 'advance_education_pro_courses_names_color',
	)));

	$wp_customize->add_setting('advance_education_pro_courses_names_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_courses_names_fonts', array(
	    'section'  => 'advance_education_pro_our_courses_section',
	    'label'    => __( 'Courses Names Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_courses_texts_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_courses_texts_color', array(
		'label' => __('Courses Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_courses_section',
		'settings' => 'advance_education_pro_courses_texts_color',
	)));

	$wp_customize->add_setting('advance_education_pro_courses_texts_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_courses_texts_fonts', array(
	    'section'  => 'advance_education_pro_our_courses_section',
	    'label'    => __( 'Courses Text Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_courses_meta_fields_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_courses_meta_fields_color', array(
		'label' => __('Courses Meta Fields Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_courses_section',
		'settings' => 'advance_education_pro_courses_meta_fields_color',
	)));

	$wp_customize->add_setting('advance_education_pro_courses_meta_fields_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_courses_meta_fields_fonts', array(
	    'section'  => 'advance_education_pro_our_courses_section',
	    'label'    => __( 'Courses Meta Fields Font','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	/*-------------------------------------Our Events Section-------------------------------------*/
	$wp_customize->add_section('advance_education_pro_events_section',array(
		'title'	=> __('Our Events Section','advance-education-pro'),
		'description'	=> __('Add Our Events Content here','advance-education-pro'),
		'priority'	=> null,
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_events_enabledisable',array(
        'default'=> 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
    ));
	$wp_customize->add_control('advance_education_pro_events_enabledisable', array(
        'type' => 'radio',
        'label' => 'Do you want this section',
        'section' => 'advance_education_pro_events_section',
        'choices' => array(
            'Enable' => 'Enable',
            'Disable' => 'Disable'
        ),
    ));
    $wp_customize->add_setting( 'advance_education_pro_events_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_events_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_events_section'
	)));	

    $wp_customize->add_setting( 'advance_education_pro_events_bg_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_bg_color',array(
		'label' => __('Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_bg_color',
	)));
	$wp_customize->add_setting('advance_education_pro_events_bgimage',array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'advance_education_pro_events_bgimage',
	        array(
	            'label' => __('Background Image (1600 X 970)','advance-education-pro'),
	            'section' => 'advance_education_pro_events_section',
	            'settings' => 'advance_education_pro_events_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_events_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_events_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_events_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting('advance_education_pro_events_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_events_number',array(
		'label'	=> __('Number of Tabs to show','advance-education-pro'),
		'section'	=> 'advance_education_pro_events_section',
		'type'		=> 'number'
	));
	$wp_customize->add_setting( 'advance_education_pro_events_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_events_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_events_section'
	)));	

	$wp_customize->add_setting('advance_education_pro_events_sec_title',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_events_sec_title',array(
			'label'	=> __('Section Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_events_section',
			'type'	=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_events_sec_subtitle',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_events_sec_subtitle',array(
			'label'	=> __('Section Sub Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_events_section',
			'type'	=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_events_view_button_text',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_events_view_button_text',array(
			'label'	=> __('Button Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_events_section',
			'type'	=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_events_view_more_button_link',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_textarea_field',
		));
		$wp_customize->add_control('advance_education_pro_events_view_more_button_link',array(
			'label' => __('Button Link','advance-education-pro'),
			'section' => 'advance_education_pro_events_section',
			'setting'	=> 'advance_education_pro_events_view_more_button_link',
			'type'	=> 'text'
	));
	$wp_customize->add_setting( 'advance_education_pro_events_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_events_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_events_section'
	)));	
	$wp_customize->add_setting( 'advance_education_pro_events_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_title_color',
	)));

	$wp_customize->add_setting('advance_education_pro_events_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_events_title_fonts', array(
	    'section'  => 'advance_education_pro_events_section',
	    'label'    => __( 'Section Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_events_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_text_color', array(
		'label' => __('Section Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_text_color',
	)));

	$wp_customize->add_setting('advance_education_pro_events_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_events_text_fonts', array(
	    'section'  => 'advance_education_pro_events_section',
	    'label'    => __( 'Section Text Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_events_btn_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_btn_color', array(
		'label' => __('Button Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_btn_color',
	)));
	$wp_customize->add_setting( 'advance_education_pro_events_btnbg_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_btnbg_color', array(
		'label' => __('Button Background Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_btnbg_color',
	)));
	$wp_customize->add_setting('advance_education_pro_events_btn_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_events_btn_fonts', array(
	    'section'  => 'advance_education_pro_events_section',
	    'label'    => __( 'Button Text Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_events_name_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_name_color', array(
		'label' => __('Event Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_name_color',
	)));

	$wp_customize->add_setting('advance_education_pro_events_name_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_events_name_fonts', array(
	    'section'  => 'advance_education_pro_events_section',
	    'label'    => __( 'Event Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_events_text1_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_text1_color', array(
		'label' => __('Event Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_text1_color',
	)));

	$wp_customize->add_setting('advance_education_pro_events_text1_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_events_text1_fonts', array(
	    'section'  => 'advance_education_pro_events_section',
	    'label'    => __( 'Event Text Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_events_meta_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_meta_color', array(
		'label' => __('Event Meta Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_meta_color',
	)));

	$wp_customize->add_setting('advance_education_pro_events_meta_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_events_meta_fonts', array(
	    'section'  => 'advance_education_pro_events_section',
	    'label'    => __( 'Event Meta Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_events_meta_icon_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_events_meta_icon_color', array(
		'label' => __('Event Meta Icon Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_events_section',
		'settings' => 'advance_education_pro_events_meta_icon_color',
	)));
	//End
	
	/*----------------------Our Teachers Section-----------------*/
	$wp_customize->add_section('advance_education_pro_our_team_section',array(
		'title'	=> __('Our Teachers Section','advance-education-pro'),
		'description'	=> __('This section is only for Our Teachers title and styling. <a href="'.esc_url(home_url()).'/wp-admin/edit.php?post_type=team" target="_blank">Click here</a> to add Teachers','advance-education-pro'),
		'priority'	=> null,
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_our_team_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_our_team_enable',
    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_our_team_section',
	    'choices' => array(
        'Enable' => __('Enable', 'advance-education-pro'),
        'Disable' => __('Disable', 'advance-education-pro')
	     ),
    ));
    $wp_customize->add_setting( 'advance_education_pro_team_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_team_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_our_team_section'
	)));	
	$wp_customize->add_setting( 'advance_education_pro_our_team_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_bgcolor', array(
			'label' => __('Background Color', 'advance-education-pro'),
			'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
			'section' => 'advance_education_pro_our_team_section',
			'settings' => 'advance_education_pro_our_team_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_our_team_bgimage',array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'advance_education_pro_our_team_bgimage',
	        array(
	            'label' => __('Background Image (1600 X 444)','advance-education-pro'),
	            'section' => 'advance_education_pro_our_team_section',
	            'settings' => 'advance_education_pro_our_team_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_our_team_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_our_team_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_our_team_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_team_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_team_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_our_team_section'
	)));

	$wp_customize->add_setting('advance_education_pro_team_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_team_title',array(
		'label'	=> __('Section Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_our_team_section',
		'setting'	=> 'advance_education_pro_team_title',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_team_subtitle',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_team_subtitle',array(
		'label'	=> __('Section Sub Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_our_team_section',
		'setting'	=> 'advance_education_pro_team_subtitle',
		'type'		=> 'text'
	));

	$wp_customize->add_setting( 'advance_education_pro_team_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_team_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_our_team_section'
	)));

	$wp_customize->add_setting('advance_education_pro_our_team_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_team_section',
		'settings' => 'advance_education_pro_our_team_title_color',
	)));
	
	$wp_customize->add_setting('advance_education_pro_our_team_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_our_team_title_fonts', array(
	    'section'  => 'advance_education_pro_our_team_section',
	    'label'    => __( 'Section Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('advance_education_pro_our_team_subtitle_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_subtitle_color', array(
		'label' => __('Section Sub Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_team_section',
		'settings' => 'advance_education_pro_our_team_subtitle_color',
	)));
	
	$wp_customize->add_setting('advance_education_pro_our_team_subtitle_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_our_team_subtitle_fonts', array(
	    'section'  => 'advance_education_pro_our_team_section',
	    'label'    => __( 'Section Sub Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_our_team_name_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_name_color', array(
		'label' => __('Team Name Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_team_section',
		'settings' => 'advance_education_pro_our_team_name_color',
	)));
	$wp_customize->add_setting('advance_education_pro_our_team_name_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_our_team_name_fonts', array(
	    'section'  => 'advance_education_pro_our_team_section',
	    'label'    => __( 'Team Name Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_our_team_designation_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_designation_color', array(
		'label' => __('Team Designation Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_team_section',
		'settings' => 'advance_education_pro_our_team_designation_color',
	)));
	$wp_customize->add_setting('advance_education_pro_our_team_designation_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_our_team_designation_fonts', array(
	    'section'  => 'advance_education_pro_our_team_section',
	    'label'    => __( 'Team Designation Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting( 'advance_education_pro_our_team_name_hover_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_name_hover_color', array(
		'label' => __('Team Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_team_section',
		'settings' => 'advance_education_pro_our_team_name_hover_color',
	)));

	$wp_customize->add_setting('advance_education_pro_our_team_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_our_team_text_fonts', array(
	    'section'  => 'advance_education_pro_our_team_section',
	    'label'    => __( 'Team Text Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_our_team_designation_hover_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_our_team_designation_hover_color', array(
		'label' => __('Team Social Icon Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_our_team_section',
		'settings' => 'advance_education_pro_our_team_designation_hover_color',
	)));
	 

	/*------------------------ Record Section --------------------------*/
	$wp_customize->add_section('advance_education_pro_take_a_tour_section',array(
		'title'	=> __('Records Section','advance-education-pro'),
		'description'	=> __('Add Records Section here.','advance-education-pro'),
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_take_a_tour_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_take_a_tour_enable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_take_a_tour_section',
        'choices' => array(
            'Enable' => __('Enable', 'advance-education-pro'),
            'Disable' => __('Disable', 'advance-education-pro')
	)));
	
	$wp_customize->add_setting( 'advance_education_pro_record_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_record_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_take_a_tour_section'
	)));

	$wp_customize->add_setting( 'advance_education_pro_take_a_tour_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_take_a_tour_bgcolor',array(
		'label' => __('Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_take_a_tour_section',
		'settings' => 'advance_education_pro_take_a_tour_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_take_a_tour_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'advance_education_pro_take_a_tour_bgimage',array(
        'label' => __('Background Image (1600 X 524) ','advance-education-pro'),
        'section' => 'advance_education_pro_take_a_tour_section',
        'settings' => 'advance_education_pro_take_a_tour_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_take_a_tour_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_take_a_tour_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_take_a_tour_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting('advance_education_pro_our_records_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_our_records_number',array(
		'label'	=> __('Number of boxes to show','advance-education-pro'),
		'section'	=> 'advance_education_pro_take_a_tour_section',
		'type'		=> 'number'
	));
	$count =  get_theme_mod('advance_education_pro_our_records_number');
	for($i=1, $j=1; $i<=$count; $i++, $j++) {
		if($j==4){ $j=1; }
		$wp_customize->add_setting( 'advance_education_pro_record_content_settings'.$i,
		    array(
		    'default' => '',
		    'transport' => 'postMessage',
		    'sanitize_callback' => 'advance_education_pro_text_sanitization'
		 ));
		 $wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_record_content_settings'.$i,
		    array(
		    'label' => __('Record Settings ','advance-education-pro').$i,
		    'section' => 'advance_education_pro_take_a_tour_section'
		)));
		$wp_customize->add_setting('advance_education_pro_our_records_image'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
		));
		$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'advance_education_pro_our_records_image'.$i,
	        array(
	            'label' => __('Our Records Image (85 X 85)','advance-education-pro').$i,
	            'section' => 'advance_education_pro_take_a_tour_section',
	            'settings' => 'advance_education_pro_our_records_image'.$i
		)));
		$wp_customize->add_setting('advance_education_pro_our_records_title'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
		$wp_customize->add_control('advance_education_pro_our_records_title'.$i,array(
			'label'	=> __('Section Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_take_a_tour_section',
			'settings' => 'advance_education_pro_our_records_title'.$i,
			'type'	=> 'text'
		));	
		$wp_customize->add_setting('advance_education_pro_our_records_subtitle'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
		$wp_customize->add_control('advance_education_pro_our_records_subtitle'.$i,array(
			'label'	=> __('Section Sub Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_take_a_tour_section',
			'settings' => 'advance_education_pro_our_records_subtitle'.$i,
			'type'	=> 'text'
		));	
	}
	$wp_customize->add_setting( 'advance_education_pro_record_section_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_record_section_content_settings',
	    array(
	    'label' => __('Tour Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_take_a_tour_section'
	)));
	$wp_customize->add_setting('advance_education_pro_take_a_tour_title',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
	$wp_customize->add_control('advance_education_pro_take_a_tour_title',array(
			'label'	=> __('Take a Tour box Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_take_a_tour_section',
			'settings' => 'advance_education_pro_take_a_tour_title',
			'type'	=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_video_link',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
	$wp_customize->add_control('advance_education_pro_video_link',array(
			'label'	=> __('Take a Tour box Video Url','advance-education-pro'),
			'section'	=> 'advance_education_pro_take_a_tour_section',
			'settings' => 'advance_education_pro_video_link',
			'type'	=> 'url'
	));

	$wp_customize->add_setting( 'advance_education_pro_record_section_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_record_section_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_take_a_tour_section'
	)));
	$wp_customize->add_setting( 'advance_education_pro_video_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_video_title_color', array(
		'label' => __('Video Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_take_a_tour_section',
		'settings' => 'advance_education_pro_video_title_color',
	)));
	$wp_customize->add_setting('advance_education_pro_video_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_video_title_fonts', array(
	    'section'  => 'advance_education_pro_take_a_tour_section',
	    'label'    => __( 'Video Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_record_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_record_title_color', array(
		'label' => __('Record Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_take_a_tour_section',
		'settings' => 'advance_education_pro_record_title_color',
	)));
	$wp_customize->add_setting('advance_education_pro_record_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_record_title_fonts', array(
	    'section'  => 'advance_education_pro_take_a_tour_section',
	    'label'    => __( 'Record Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting( 'advance_education_pro_record_subtitle_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_record_subtitle_color', array(
		'label' => __('Record SubTitle Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_take_a_tour_section',
		'settings' => 'advance_education_pro_record_subtitle_color',
	)));
	$wp_customize->add_setting('advance_education_pro_record_subtitle_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_record_subtitle_fonts', array(
	    'section'  => 'advance_education_pro_take_a_tour_section',
	    'label'    => __( 'Record SubTitle Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	/* -----------------------------Course Categories Section --------------------------------*/
	$wp_customize->add_section('advance_education_pro_course_categories_section',array(
		'title'	=> __('Course Categories Section','advance-education-pro'),
		'description'	=> __('Add Course Categories details here','advance-education-pro'),
		'priority'	=> null,
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_course_categories_enable_disable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_course_categories_enable_disable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_course_categories_section',
        'choices' => array(
            'Enable' => __('Enable', 'advance-education-pro'),
            'Disable' => __('Disable', 'advance-education-pro')
	)));

	$wp_customize->add_setting( 'advance_education_pro_course_categories_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_course_categories_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_course_categories_section'
	)));

	$wp_customize->add_setting( 'advance_education_pro_course_categories_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_course_categories_bgcolor',array(
		'label' => __('Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_course_categories_section',
		'settings' => 'advance_education_pro_course_categories_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_course_categories_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'advance_education_pro_course_categories_bgimage',array(
        'label' => __('Background Image (1600 X 524)','advance-education-pro'),
        'section' => 'advance_education_pro_course_categories_section',
        'settings' => 'advance_education_pro_course_categories_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_course_categories_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_course_categories_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_course_categories_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_course_categories_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_course_categories_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_course_categories_section'
	)));
	$wp_customize->add_setting('advance_education_pro_course_categories_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_course_categories_title',array(
		'label'	=> __('Section Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_course_categories_section',
		'setting'	=> 'advance_education_pro_course_categories_title',
		'type'		=> 'text'
	));
	
	$wp_customize->add_setting('advance_education_pro_course_categories_subtitle',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_course_categories_subtitle',array(
		'label'	=> __('Section Sub Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_course_categories_section',
		'setting'	=> 'advance_education_pro_course_categories_subtitle',
		'type'		=> 'text'
	));
	
	$wp_customize->add_setting('advance_education_pro_course_categories_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_course_categories_number',array(
		'label'	=> __('Number of Course Categories to show','advance-education-pro'),
		'section'	=> 'advance_education_pro_course_categories_section',
		'type'		=> 'number'
	));

	$num = get_theme_mod('advance_education_pro_course_categories_number');

	for($i=1, $j=1; $i<=$num; $i++, $j++) {
		if($j==8){ $j=1; }
	$wp_customize->add_setting( 'advance_education_pro_course_categories_settings'.$i,
	    array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	 ));
	 $wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_course_categories_settings'.$i,
	    array(
	    'label' => __('Course Categories Settings ','advance-education-pro').$i,
	    'section' => 'advance_education_pro_course_categories_section'
	)));	
	$wp_customize->add_setting('advance_education_pro_course_categories_image'.$i,array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'advance_education_pro_course_categories_image'.$i,array(
        'label' => __('Course Category Image (270 X 190)','advance-education-pro'),
        'section' => 'advance_education_pro_course_categories_section',
        'settings' => 'advance_education_pro_course_categories_image'.$i
	)));
	$wp_customize->add_setting('advance_education_pro_course_categories_name'.$i,array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_course_categories_name'.$i,array(
		'label'	=> __('Course Category Name','advance-education-pro'),
		'section'	=> 'advance_education_pro_course_categories_section',
		'setting'	=> 'advance_education_pro_course_categories_name'.$i,
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_course_category_link'.$i,array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_course_category_link'.$i,array(
		'label'	=> __('Course Category Link','advance-education-pro'),
		'section'	=> 'advance_education_pro_course_categories_section',
		'setting'	=> 'advance_education_pro_course_category_link'.$i,
		'type'		=> 'text'
	));
	}
	$wp_customize->add_setting( 'advance_education_pro_course_categories_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_course_categories_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_course_categories_section'
	)));
	$wp_customize->add_setting('advance_education_pro_course_categories_title_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_course_categories_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_course_categories_section',
		'settings' => 'advance_education_pro_course_categories_title_color',
	)));
	$wp_customize->add_setting('advance_education_pro_course_categories_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_course_categories_title_fonts', array(
	    'section'  => 'advance_education_pro_course_categories_section',
	    'label'    => __( 'Section Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting('advance_education_pro_course_categories_subtitle_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_course_categories_subtitle_color', array(
		'label' => __('Section Sub Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_course_categories_section',
		'settings' => 'advance_education_pro_course_categories_subtitle_color',
	)));

	$wp_customize->add_setting('advance_education_pro_course_categories_subtitle_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_course_categories_subtitle_fonts', array(
	    'section'  => 'advance_education_pro_course_categories_section',
	    'label'    => __( 'Section Sub Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	$wp_customize->add_setting('advance_education_pro_course_categories_name_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_course_categories_name_color', array(
		'label' => __('Course Category Name Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_course_categories_section',
		'settings' => 'advance_education_pro_course_categories_name_color',
	)));

	$wp_customize->add_setting('advance_education_pro_course_categories_name_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_course_categories_name_fonts', array(
	    'section'  => 'advance_education_pro_course_categories_section',
	    'label'    => __( 'Course Category Name Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	
	/*------------------------ Apply Now Section --------------------------*/
	$wp_customize->add_section('advance_education_pro_apply_now_section',array(
		'title'	=> __('Apply Now Section','advance-education-pro'),
		'description'	=> __('Add Apply Now details here','advance-education-pro'),
		'priority'	=> null,
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_apply_now_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_apply_now_enable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_apply_now_section',
        'choices' => array(
            'Enable' => __('Enable', 'advance-education-pro'),
            'Disable' => __('Disable', 'advance-education-pro')
	)));
	
	$wp_customize->add_setting( 'advance_education_pro_apply_now_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_apply_now_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_apply_now_section'
	)));
	$wp_customize->add_setting( 'advance_education_pro_apply_now_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_apply_now_bgcolor',array(
		'label' => __('Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_apply_now_section',
		'settings' => 'advance_education_pro_apply_now_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_apply_now_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'advance_education_pro_apply_now_bgimage',array(
        'label' => __('Background image (1600 X 559)','advance-education-pro'),
        'section' => 'advance_education_pro_apply_now_section',
        'settings' => 'advance_education_pro_apply_now_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_apply_now_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_apply_now_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_apply_now_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_apply_now_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_apply_now_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_apply_now_section'
	)));
	$wp_customize->add_setting('advance_education_pro_practice_makes_perfect_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_practice_makes_perfect_title',array(
		'label'	=> __('Practice Makes Perfect Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_apply_now_section',
		'setting'	=> 'advance_education_pro_practice_makes_perfect_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_apply_now_form_shortcode',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('advance_education_pro_apply_now_form_shortcode',array(
        'label' => __('Apply Now Form Shortcode','advance-education-pro'),
        'section' => 'advance_education_pro_apply_now_section',
        'setting'   => 'advance_education_pro_apply_now_form_shortcode',
        'type'  => 'text'
    ));

    $wp_customize->add_setting('advance_education_pro_apply_now_label',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_apply_now_label',array(
		'label'	=> __('Apply Now Label','advance-education-pro'),
		'section'	=> 'advance_education_pro_apply_now_section',
		'setting'	=> 'advance_education_pro_apply_now_label',
		'type'		=> 'text'
	));
	$wp_customize->add_setting( 'advance_education_pro_apply_now_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_apply_now_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_apply_now_section'
	)));
	$wp_customize->add_setting('advance_education_pro_apply_now_title_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_apply_now_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_apply_now_section',
		'settings' => 'advance_education_pro_apply_now_title_color',
	)));

	$wp_customize->add_setting('advance_education_pro_apply_now_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_apply_now_title_fonts', array(
	    'section'  => 'advance_education_pro_apply_now_section',
	    'label'    => __( 'Section Title Fonts','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('advance_education_pro_apply_now_text_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_apply_now_text_color', array(
		'label' => __('Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_apply_now_section',
		'settings' => 'advance_education_pro_apply_now_text_color',
	)));

	$wp_customize->add_setting('advance_education_pro_apply_now_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_apply_now_text_fonts', array(
	    'section'  => 'advance_education_pro_apply_now_section',
	    'label'    => __( 'Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	/*-----------------------FAQ's Section----------------------*/
	$wp_customize->add_section('advance_education_pro_faq_section',array(
		'title'	=> __('FAQs Section','advance-education-pro'),
		'description'	=> __('Add FAQs details here','advance-education-pro'),
		'priority'	=> null,
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_faq_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_faq_enable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_faq_section',
        'choices' => array(
            'Enable' => __('Enable', 'advance-education-pro'),
            'Disable' => __('Disable', 'advance-education-pro')
	)));
	$wp_customize->add_setting( 'advance_education_pro_faq_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_faq_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_faq_section'
	)));
	$wp_customize->add_setting( 'advance_education_pro_faq_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_faq_bgcolor',array(
		'label' => __('Background Color', 'advance-education-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'section' => 'advance_education_pro_faq_section',
		'settings' => 'advance_education_pro_faq_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_faq_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'advance_education_pro_faq_bgimage',array(
        'label' => __('Background Image (1600 X 524)','advance-education-pro'),
        'section' => 'advance_education_pro_faq_section',
        'settings' => 'advance_education_pro_faq_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_faq_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_faq_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_faq_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_faq_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_faq_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_faq_section'
	)));
	$wp_customize->add_setting('advance_education_pro_faq_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_faq_title',array(
		'label'	=> __('Section Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_faq_section',
		'setting'	=> 'advance_education_pro_faq_title',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_faq_subtitle',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('advance_education_pro_faq_subtitle',array(
		'label'	=> __('Section Sub Title','advance-education-pro'),
		'section'	=> 'advance_education_pro_faq_section',
		'setting'	=> 'advance_education_pro_faq_subtitle',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_faq_section_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control( $wp_customize,'advance_education_pro_faq_section_image',array(
        'label' => __('Section Right Side Image (450 X 520px)','advance-education-pro'),
        'section' => 'advance_education_pro_faq_section',
        'settings' => 'advance_education_pro_faq_section_image'
	)));
	$wp_customize->add_setting('advance_education_pro_faq_slide_number',array(
		'default'	=> 3,
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_faq_slide_number',array(
		'label'	=> __('Number of posts to show','advance-education-pro'),
		'section'	=> 'advance_education_pro_faq_section',
		'type'		=> 'number'
	));
	$wp_customize->add_setting( 'advance_education_pro_faq_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_faq_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_faq_section'
	)));
	$wp_customize->add_setting('advance_education_pro_faq_title_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_faq_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_faq_section',
		'settings' => 'advance_education_pro_faq_title_color',
	)));

	$wp_customize->add_setting('advance_education_pro_faq_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_faq_title_fonts', array(
	    'section'  => 'advance_education_pro_faq_section',
	    'label'    => __( 'Section Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
	
	$wp_customize->add_setting('advance_education_pro_faq_subtitle_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_faq_subtitle_color', array(
		'label' => __('Section Sub Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_faq_section',
		'settings' => 'advance_education_pro_faq_subtitle_color',
	)));

	$wp_customize->add_setting('advance_education_pro_faq_subtitle_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_faq_subtitle_fonts', array(
	    'section'  => 'advance_education_pro_faq_section',
	    'label'    => __( 'Section Sub Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('advance_education_pro_faq_text_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_faq_text_color', array(
		'label' => __('Faq Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_faq_section',
		'settings' => 'advance_education_pro_faq_text_color',
	)));

	$wp_customize->add_setting('advance_education_pro_faq_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_faq_text_fonts', array(
	    'section'  => 'advance_education_pro_faq_section',
	    'label'    => __( 'Faq Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
		/* ------------------------------Testimonial Section -----------------------------------*/
	$wp_customize->add_section('advance_education_pro_testimonial',array(
			'title'	=> __('Testimonial','advance-education-pro'),
			'description'	=> __('This section is only for Testimonial title and styling. <a href="'.esc_url(home_url()).'/wp-admin/edit.php?post_type=testimonials" target="_blank">Click here</a> to add testimonials.','advance-education-pro'),
			'priority'	=> null,
			'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_testimonial_enable',
	    array(
	        'default' => 'Enable',
	        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control('advance_education_pro_radio_testimonial_enable',
    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'advance-education-pro'),
        'section' => 'advance_education_pro_testimonial',
	        'choices' => array(
	            'Enable' => __('Enable', 'advance-education-pro'),
	            'Disable' => __('Disable', 'advance-education-pro')
	    ),
    ));
    $wp_customize->add_setting( 'advance_education_pro_testimonial_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_testimonial_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_testimonial'
	)));
	$wp_customize->add_setting( 'advance_education_pro_testimonial_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_testimonial_bgcolor', array(
				'label' => __('Background Color', 'advance-education-pro'),
				'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
				'section' => 'advance_education_pro_testimonial',
				'settings' => 'advance_education_pro_testimonial_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_our_testimonial_bgimage',array(
			'default'	=>'',
			'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'advance_education_pro_our_testimonial_bgimage',
	        array(
	            'label' => __('Background image (1600 X 486)','advance-education-pro'),
	            'section' => 'advance_education_pro_testimonial',
	            'settings' => 'advance_education_pro_our_testimonial_bgimage'
	)));
	$wp_customize->add_setting('advance_education_pro_our_testimonial_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	$wp_customize->add_control('advance_education_pro_our_testimonial_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_testimonial',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
	$wp_customize->add_setting( 'advance_education_pro_testimonial_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_testimonial_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_testimonial'
	)));

	$wp_customize->add_setting('advance_education_pro_testimonial_text_color', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_testimonial_text_color', array(
        'label' => __('Testimonial Box Text Color', 'advance-education-pro'),
        'section' => 'advance_education_pro_testimonial',
        'settings' => 'advance_education_pro_testimonial_text_color',
    )));
    $wp_customize->add_setting('advance_education_pro_testimonial_text_font_family',array(
      'default' => '',
      'capability' => 'edit_theme_options',
      'sanitize_callback' => 'advance_education_pro_sanitize_choices'
    ));
    $wp_customize->add_control(
        'advance_education_pro_testimonial_text_font_family', array(
        'section'  => 'advance_education_pro_testimonial',
        'label'    => __( 'Testimonial Box Text Font Family','advance-education-pro'),
        'type'     => 'select',
        'choices'  => $font_array,
    ));

    $wp_customize->add_setting('advance_education_pro_testimonial_name_color', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_testimonial_name_color', array(
        'label' => __('Testimonial Name Color', 'advance-education-pro'),
        'section' => 'advance_education_pro_testimonial',
        'settings' => 'advance_education_pro_testimonial_name_color',
    )));
    $wp_customize->add_setting('advance_education_pro_testimonial_name_font_family',array(
      'default' => '',
      'capability' => 'edit_theme_options',
      'sanitize_callback' => 'advance_education_pro_sanitize_choices'
    ));
    $wp_customize->add_control(
        'advance_education_pro_testimonial_name_font_family', array(
        'section'  => 'advance_education_pro_testimonial',
        'label'    => __( 'Testimonial Name Font Family','advance-education-pro'),
        'type'     => 'select',
        'choices'  => $font_array,
    ));

	$wp_customize->add_setting( 'advance_education_pro_testimonial_designation_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_testimonial_designation_color', array(
		'label' => __('Testimonial Designation Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_testimonial',
		'settings' => 'advance_education_pro_testimonial_designation_color',
	)));
	
	$wp_customize->add_setting('advance_education_pro_testimonial_designation_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_testimonial_designation_font_family', array(
	    'section'  => 'advance_education_pro_testimonial',
	    'label'    => __( 'Testimonial Designation Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));
		$wp_customize->add_setting( 'advance_education_pro_excerpt_no',
	array(
	'default' => 25,
	'transport' => 'postMessage',
	'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new advance_education_pro_Slider_Custom_Control( $wp_customize, 'advance_education_pro_excerpt_no',
	array(
	  'label' => __( 'Causes Excerpt Number (Limit 50 Words)', 'advance-education-pro' ),
	  'section' => 'advance_education_pro_testimonial',
	  'input_attrs' => array(
	    'min' => 5, // Required. Minimum value for the slider
	    'max' => 50, // Required. Maximum value for the slider
	    'step' => 1, // Required. The size of each interval or step the slider takes between the minimum and maximum values
	  ),
	)));
	$wp_customize->add_setting('advance_education_pro_our_testimonial_blockquote_icon',
      array(
        'default'     => '',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
   $wp_customize->add_control( new advance_education_pro_Fontawesome_Icon_Chooser(
       $wp_customize,'advance_education_pro_our_testimonial_blockquote_icon',
        array(
        'settings'    => 'advance_education_pro_our_testimonial_blockquote_icon',
        'section'   => 'advance_education_pro_testimonial',
        'type'      => 'icon',
        'label'     => esc_html__( 'Choose blockquote left Icon', 'advance-education-pro' ),
    )));
   	$wp_customize->add_setting('advance_education_pro_our_testimonial_blockquote_icon2',
      array(
        'default'     => '',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
   $wp_customize->add_control( new advance_education_pro_Fontawesome_Icon_Chooser(
       $wp_customize,'advance_education_pro_our_testimonial_blockquote_icon2',
        array(
        'settings'    => 'advance_education_pro_our_testimonial_blockquote_icon2',
        'section'   => 'advance_education_pro_testimonial',
        'type'      => 'icon',
        'label'     => esc_html__( 'Choose blockquote right Icon', 'advance-education-pro' ),
    )));
	/*------------------------------------Latets News section -------------------------------------*/
    $wp_customize->add_section('advance_education_pro_latest_news_section',array(
		'title'	=> __('Latest News','advance-education-pro'),
		'description'	=> __('Add Latest News.','advance-education-pro'),
		'panel' => 'advance_education_pro_panel_id',
	));
	$wp_customize->add_setting('advance_education_pro_radio_post_enable',
	    array(
	        'default' => 'Enable',
	        'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	    )
    );
	$wp_customize->add_control('advance_education_pro_radio_post_enable',
	    array(
	        'type' => 'radio',
	        'label' => __('Do you want this section', 'advance-education-pro'),
	        'section' => 'advance_education_pro_latest_news_section',
	        'choices' => array(
	            'Enable' => __('Enable', 'advance-education-pro'),
	            'Disable' => __('Disable', 'advance-education-pro')
	        ),
	    )
    );

	$wp_customize->add_setting( 'advance_education_pro_latest_news_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_latest_news_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_latest_news_section'
	)));
	$wp_customize->add_setting( 'advance_education_pro_latest_news_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_bgcolor',array(
		'label' => __('Background Color', 'advance-education-pro'),

		'section' => 'advance_education_pro_latest_news_section',
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
		'settings' => 'advance_education_pro_latest_news_bgcolor',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_bgimage',array(
        'default' => '',
        'sanitize_callback' => 'esc_url_raw',
    ));
    $wp_customize->add_control(
           new WP_Customize_Image_Control(
               $wp_customize,
               'advance_education_pro_latest_news_bgimage',
               array(
                   'label' => __('Background Image(1520 X 420)','advance-education-pro'),
                   'section' => 'advance_education_pro_latest_news_section',
                   'settings' => 'advance_education_pro_latest_news_bgimage',
    )));
    $wp_customize->add_setting('advance_education_pro_latest_news_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	  $wp_customize->add_control('advance_education_pro_latest_news_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_latest_news_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
    $wp_customize->add_setting( 'advance_education_pro_latest_news_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_latest_news_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_latest_news_section'
	)));
    $wp_customize->add_setting('advance_education_pro_latest_news_title',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_latest_news_title',array(
			'label'	=> __('Section Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_latest_news_section',
			'settings' => 'advance_education_pro_latest_news_title',
			'type'	=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_latest_news_subtitle',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
	$wp_customize->add_control('advance_education_pro_latest_news_subtitle',array(
			'label'	=> __('Section Sub Title','advance-education-pro'),
			'section'	=> 'advance_education_pro_latest_news_section',
			'settings' => 'advance_education_pro_latest_news_subtitle',
			'type'	=> 'text'
	));

	$wp_customize->add_setting('advance_education_pro_latest_news_read_more',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
	$wp_customize->add_control('advance_education_pro_latest_news_read_more',array(
			'label'	=> __('Read More Label','advance-education-pro'),
			'section'	=> 'advance_education_pro_latest_news_section',
			'settings' => 'advance_education_pro_latest_news_read_more',
			'type'	=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_latest_news_view_all_text',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));
	$wp_customize->add_control('advance_education_pro_latest_news_view_all_text',array(
			'label'	=> __('Button Text','advance-education-pro'),
			'section'	=> 'advance_education_pro_latest_news_section',
			'settings' => 'advance_education_pro_latest_news_view_all_text',
			'type'	=> 'text'
	));
	$wp_customize->add_setting('advance_education_pro_latest_news_view_all_link',array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_textarea_field',
		));
		$wp_customize->add_control('advance_education_pro_latest_news_view_all_link',array(
			'label' => __('Button Link','advance-education-pro'),
			'section' => 'advance_education_pro_latest_news_section',
			'setting'	=> 'advance_education_pro_latest_news_view_all_link',
			'type'	=> 'text'
		));
	$wp_customize->add_setting( 'advance_education_pro_latest_news_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_latest_news_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_latest_news_section'
	)));		
	
	$wp_customize->add_setting('advance_education_pro_latest_news_title_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_title_color', array(
		'label' => __('Section Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_title_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_title_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Section Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));		
	$wp_customize->add_setting('advance_education_pro_latest_news_subtitle_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_subtitle_color', array(
		'label' => __('Section Sub Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_subtitle_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_subtitle_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_subtitle_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Section Sub Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));		
	$wp_customize->add_setting('advance_education_pro_latest_news_box_title_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_box_title_color', array(
		'label' => __('Box Title Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_box_title_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_box_title_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_box_title_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Box Title Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));		

	$wp_customize->add_setting('advance_education_pro_latest_news_box_text_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_box_text_color', array(
		'label' => __('Box Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_box_text_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_box_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_box_text_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Box Text Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));		

	$wp_customize->add_setting('advance_education_pro_latest_news_author_name_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_author_name_color', array(
		'label' => __('Author Name Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_author_name_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_author_name_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_author_name_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Author Name Text Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));		

	$wp_customize->add_setting('advance_education_pro_latest_news_date_text_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_date_text_color', array(
		'label' => __('Date Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_date_text_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_date_text_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_date_text_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Date Text Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));		

	$wp_customize->add_setting('advance_education_pro_latest_news_btn_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_btn_color', array(
		'label' => __('Button Text Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_btn_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_btnbg_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latest_news_btnbg_color', array(
		'label' => __('Button Background Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latest_news_btnbg_color',
	)));
	$wp_customize->add_setting('advance_education_pro_latest_news_btn_fonts',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'advance_education_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'advance_education_pro_latest_news_btn_fonts', array(
	    'section'  => 'advance_education_pro_latest_news_section',
	    'label'    => __( 'Button Text Font Family','advance-education-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));	
	$wp_customize->add_setting('advance_education_pro_latestpost_box_meta_border_color', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_latestpost_box_meta_border_color', array(
		'label' => __('Button Border Color', 'advance-education-pro'),
		'section' => 'advance_education_pro_latest_news_section',
		'settings' => 'advance_education_pro_latestpost_box_meta_border_color',
	)));
		
	  //* Newsletter Section */
    $wp_customize->add_section('advance_education_pro_get_in_touch_section',array(
        'title' => __('Newsletter Section','advance-education-pro'),
        'description'   => __('Edit Newsletter section','advance-education-pro'),
        'panel' => 'advance_education_pro_panel_id',
    ));
    $wp_customize->add_setting('advance_education_pro_radio_newsletter_enable',
        array(
            'default' => 'Enable',
            'sanitize_callback' => 'advance_education_pro_sanitize_choices'
        )
    );
    $wp_customize->add_control('advance_education_pro_radio_newsletter_enable',
        array(
            'type' => 'radio',
            'label' => __('Do you want this section', 'advance-education-pro'),
            'section' => 'advance_education_pro_get_in_touch_section',
            'choices' => array(
                'Enable' => __('Enable', 'advance-education-pro'),
                'Disable' => __('Disable', 'advance-education-pro')
            ),
        )
    );
    $wp_customize->add_setting( 'advance_education_pro_newsletter_back_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_newsletter_back_settings',
	    array(
	    'label' => __('Section Background Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_get_in_touch_section'
	)));		
	
    $wp_customize->add_setting( 'advance_education_pro_newsletter_bgcolor', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_newsletter_bgcolor', array(
        'label' => __('Background Color', 'advance-education-pro'),
        'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'advance-education-pro'),
        'section' => 'advance_education_pro_get_in_touch_section',
        'settings' => 'advance_education_pro_newsletter_bgcolor',
    )));
    $wp_customize->add_setting('advance_education_pro_newsletter_bgimage',array(
        'default'   => '',
        'sanitize_callback' => 'esc_url_raw',
    ));
    $wp_customize->add_control(
        new WP_Customize_Image_Control(
            $wp_customize,
            'advance_education_pro_newsletter_bgimage',
            array(
                'label' => __('Background image (1600 X 241)','advance-education-pro'),
                'section' => 'advance_education_pro_get_in_touch_section',
                'settings' => 'advance_education_pro_newsletter_bgimage'
    )));
    $wp_customize->add_setting('advance_education_pro_newsletter_bgimage_attachment',
	  array(
	    'default' => 'Scroll',
	    'sanitize_callback' => 'sanitize_text_field'
	  ));
	  $wp_customize->add_control('advance_education_pro_newsletter_bgimage_attachment',
	        array(
	        'type' => 'radio',
	        'label' => __('Background Image Attachment', 'advance-education-pro'),
	        'section' => 'advance_education_pro_get_in_touch_section',
	        'choices' => array(
	        'Scroll' => __('Scroll', 'advance-education-pro'),
	        'Fixed' => __('Fixed', 'advance-education-pro')
	  ),));
    $wp_customize->add_setting( 'advance_education_pro_newsletter_content_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_newsletter_content_settings',
	    array(
	    'label' => __('Section Content Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_get_in_touch_section'
	)));
    $wp_customize->add_setting('advance_education_pro_newsletter_title',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('advance_education_pro_newsletter_title',array(
        'label' => __('Section Title','advance-education-pro'),
        'section' => 'advance_education_pro_get_in_touch_section',
        'setting'   => 'advance_education_pro_newsletter_title',
        'type'  => 'text'
    ));
    $wp_customize->add_setting('advance_education_pro_newsletter_subtitle',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('advance_education_pro_newsletter_subtitle',array(
        'label' => __('Section Sub Title','advance-education-pro'),
        'section' => 'advance_education_pro_get_in_touch_section',
        'setting'   => 'advance_education_pro_newsletter_subtitle',
        'type'  => 'text'
    ));
    
    $wp_customize->add_setting('advance_education_pro_newsletter_shortcode',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('advance_education_pro_newsletter_shortcode',array(
        'label' => __('Newsletter Form Shortcode','advance-education-pro'),
        'section' => 'advance_education_pro_get_in_touch_section',
        'setting'   => 'advance_education_pro_newsletter_shortcode',
        'type'  => 'text'
    ));
    $wp_customize->add_setting( 'advance_education_pro_newsletter_color_settings',
	array(
	    'default' => '',
	    'transport' => 'postMessage',
	    'sanitize_callback' => 'advance_education_pro_text_sanitization'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_newsletter_color_settings',
	    array(
	    'label' => __('Section Content Color and Font Settings','advance-education-pro'),
	    'section' => 'advance_education_pro_get_in_touch_section'
	)));
    $wp_customize->add_setting('advance_education_pro_get_in_touch_title_color', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_get_in_touch_title_color', array(
        'label' => __('Section Title Color', 'advance-education-pro'),
        'section' => 'advance_education_pro_get_in_touch_section',
        'settings' => 'advance_education_pro_get_in_touch_title_color',
    )));
    $wp_customize->add_setting('advance_education_pro_get_in_touch_title_font_family',array(
      'default' => '',
      'capability' => 'edit_theme_options',
      'sanitize_callback' => 'advance_education_pro_sanitize_choices'
    ));
    $wp_customize->add_control(
        'advance_education_pro_get_in_touch_title_font_family', array(
        'section'  => 'advance_education_pro_get_in_touch_section',
        'label'    => __( 'Section Title Font Family','advance-education-pro'),
        'type'     => 'select',
        'choices'  => $font_array,
    ));

    $wp_customize->add_setting('advance_education_pro_get_in_touch_content_color', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_get_in_touch_content_color', array(
        'label' => __('Section Text Color', 'advance-education-pro'),
        'section' => 'advance_education_pro_get_in_touch_section',
        'settings' => 'advance_education_pro_get_in_touch_content_color',
    )));
    $wp_customize->add_setting('advance_education_pro_get_in_touch_content_font_family',array(
      'default' => '',
      'capability' => 'edit_theme_options',
      'sanitize_callback' => 'advance_education_pro_sanitize_choices'
    ));
    $wp_customize->add_control(
        'advance_education_pro_get_in_touch_content_font_family', array(
        'section'  => 'advance_education_pro_get_in_touch_section',
        'label'    => __( 'Section Text Font Family','advance-education-pro'),
        'type'     => 'select',
        'choices'  => $font_array,
    ));

	/*Blog page category*/
	$wp_customize->add_section('advance_education_pro_blog_category',array(
		'title'	=> __('Blog Page','advance-education-pro'),
		'description'	=> __('select the category you wish to be get displayed on blog page .','advance-education-pro'),
		'priority'	=> null,
		'panel' => 'advance_education_pro_panel_id',
	));
	$categories = get_categories();
	$cats = array();
	$i = 0;
	foreach($categories as $category){
		if($i==0){
			$default = $category->slug;
			$i++;
		}
		$cats[$category->slug] = $category->name;
	}
	$wp_customize->add_setting('advance_education_pro_category_setting',array(
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('advance_education_pro_category_setting',array(
		'type'    => 'select',
		'choices' => $cats,
		'label' => __('Blog page (select category to show selected post)','advance-education-pro'),
		'section' => 'advance_education_pro_blog_category',
	));	

	$wp_customize->add_setting( 'advance_education_pro_toggle_auther',
	   array(
	      'default' => 1,
	      'transport' => 'refresh',
	      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
	));	 
	$wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_toggle_auther',
	   array(
	      'label' => esc_html__( 'Show or Hide Author Name','advance-education-pro' ),
	      'section' => 'advance_education_pro_blog_category'
	)));

	$wp_customize->add_setting( 'advance_education_pro_toggle_comments',
	   array(
	      'default' => 1,
	      'transport' => 'refresh',
	      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
	));	 
	$wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_toggle_comments',
	   array(
	      'label' => esc_html__( 'Show or Hide Comment','advance-education-pro' ),
	      'section' => 'advance_education_pro_blog_category'
	)));

	$wp_customize->add_setting( 'advance_education_pro_toggle_date',
	   array(
	      'default' => 1,
	      'transport' => 'refresh',
	      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
	));	 
	$wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_toggle_date',
	   array(
	      'label' => esc_html__( 'Show or Hide Post Date', 'advance-education-pro' ),
	      'section' => 'advance_education_pro_blog_category'
	)));
	
	$wp_customize->add_setting( 'advance_education_pro_toggle_sharing',
	   array(
	      'default' => 1,
	      'transport' => 'refresh',
	      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
	));	 

 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_share',
     array(
        'label' => esc_html__( 'Show or Hide Share Icons', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_share_facebook',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_share_facebook',
     array(
        'label' => esc_html__( 'Show or Hide Post Share Facebook', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_share_linkedin',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_share_linkedin',
     array(
        'label' => esc_html__( 'Show or Hide Post Share Linkedin', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_share_googleplus',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_share_googleplus',
     array(
        'label' => esc_html__( 'Show or Hide Post Share Google Plus', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_share_twitter',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_share_twitter',
     array(
        'label' => esc_html__( 'Show or Hide Post Share Twitter', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_tags',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_tags',
     array(
        'label' => esc_html__( 'Show or Hide Tags', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_category',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_category',
     array(
        'label' => esc_html__( 'Show or Hide Category', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  $wp_customize->add_setting( 'advance_education_pro_post_general_settings_post_sidebar',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
   )
  );
 
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_post_general_settings_post_sidebar',
     array(
        'label' => esc_html__( 'Show or Hide Sidebar', 'vw-flower-shop-pro' ),
        'section' => 'advance_education_pro_blog_category'
     )
  ));

  // --------------- General Settings -------------

  $wp_customize->add_section('advance_education_pro_products_sidebar_settings',array(
    'title' => __('General Settings','advance-education-pro'),
    'description'   => __('Change Your Setting','advance-education-pro'),
    'priority'  => null,
    'panel' => 'advance_education_pro_panel_id',
  ));

  //Page Title layout
  $wp_customize->add_setting('advance_education_pro_page_title_content_option',array(
    'default' => __('Left','advance-education-pro'),
    'sanitize_callback' => 'sanitize_text_field'
  ));
  $wp_customize->add_control(new advance_education_pro_Image_Radio_Control($wp_customize, 'advance_education_pro_page_title_content_option', array(
      'type' => 'select',
      'label' => __('Page Title Layouts','advance-education-pro'),
      'section' => 'advance_education_pro_products_sidebar_settings',
      'choices' => array(
          'Left' => get_template_directory_uri().'/assets/images/header-layout1.png',
          'Center' => get_template_directory_uri().'/assets/images/header-layout2.png',
          'Right' => get_template_directory_uri().'/assets/images/header-layout3.png',
  ))));

 //Blog layout
  $wp_customize->add_setting('advance_education_pro_blog_option',array(
      'default' => __('two_col','advance-education-pro'),
      'sanitize_callback' => 'sanitize_text_field'
  ));
  $wp_customize->add_control('advance_education_pro_blog_option',array(
      'type' => 'select',
      'label' => __('Post Layout','advance-education-pro'),
      'description' => __('Here you can change the Posts layout for Blog Pages. ','advance-education-pro'),
      'section' => 'advance_education_pro_products_sidebar_settings',
      'choices' => array(
          'one_col' => __('One Columns','advance-education-pro'),
          'two_col' => __('Two Columns','advance-education-pro')
      ),  
  ) );
  $wp_customize->add_setting( 'advance_education_pro_products_spinner_enable',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'advance_education_pro_text_sanitization'
  ));
  $wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_products_spinner_enable',
    array(
    'label' => __('Spinner Settings','advance-education-pro'),
    'section' => 'advance_education_pro_products_sidebar_settings'
  )));
  $wp_customize->add_setting( 'advance_education_pro_products_spinner_enable',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'advance_education_pro_switch_sanitization'
  ));
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_products_spinner_enable',
     array(
        'label' => esc_html__( 'Spinner Enable/Disable', 'advance-education-pro' ),
        'section' => 'advance_education_pro_products_sidebar_settings'
  )));
  $wp_customize->add_setting( 'advance_education_pro_products_spinner_bgcolor', array(
    'default' => '',
    'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_products_spinner_bgcolor', array(
    'label' => __('Spinner Background Color', 'advance-education-pro'),
    'section' => 'advance_education_pro_products_sidebar_settings',
    'settings' => 'advance_education_pro_products_spinner_bgcolor',
  )));

  $wp_customize->add_setting( 'advance_education_pro_products_scroll_top_settings',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'advance_education_pro_text_sanitization'
  ));
  $wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_products_scroll_top_settings',
    array(
    'label' => __('Scroll Top Settings','advance-education-pro'),
    'section' => 'advance_education_pro_products_sidebar_settings'
  )));
  $wp_customize->add_setting(
    'advance_education_pro_scroll_top_icon',
    array(
      'default'     => '',
      'sanitize_callback' => 'sanitize_text_field'
    )
  );
  $wp_customize->add_control(
    new advance_education_pro_Fontawesome_Icon_Chooser(
      $wp_customize,
      'advance_education_pro_scroll_top_icon',
      array(
        'settings'    => 'advance_education_pro_scroll_top_icon',
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'icon',
        'label'     => esc_html__( 'Add Scroll to Top Icon', 'advance-education-pro' ),
      )
    )
  );
  $wp_customize->add_setting( 'advance_education_pro_hide_show_scroll',
  array(
    'default' => 1,
    'transport' => 'refresh',
    'sanitize_callback' => 'advance_education_pro_switch_sanitization'
  ));
  $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_hide_show_scroll',
   array(
      'label' => esc_html__( 'Show/Hide Scroll Top', 'advance-education-pro' ),
      'section' => 'advance_education_pro_products_sidebar_settings'
  )));
  $wp_customize->add_setting('advance_education_pro_scroll_top_alignment',array(
      'default' => __('right','advance-education-pro'),
      'sanitize_callback' => 'sanitize_text_field'
  ));
  $wp_customize->add_control(new advance_education_pro_Image_Radio_Control($wp_customize, 'advance_education_pro_scroll_top_alignment', array(
      'type' => 'select',
      'label' => __('Scroll To Top','advance-education-pro'),
      'section' => 'advance_education_pro_products_sidebar_settings',
      'settings' => 'advance_education_pro_scroll_top_alignment',
      'choices' => array(
          'Left' => get_template_directory_uri().'/assets/images/layout1.png',
          'Center' => get_template_directory_uri().'/assets/images/layout2.png',
          'Right' => get_template_directory_uri().'/assets/images/layout3.png'
  ))));
  	$wp_customize->add_setting('advance_education_pro_scroll_top_icon_width',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_scroll_top_icon_width',array(
        'label' => __('Scroll Top Icon Width','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));
    $wp_customize->add_setting('advance_education_pro_scroll_top_icon_height',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_scroll_top_icon_height',array(
        'label' => __('Scroll Top Icon Height','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));
    $wp_customize->add_setting('advance_education_pro_scroll_top_icon_border_radius',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_scroll_top_icon_border_radius',array(
        'label' => __('Scroll Top Icon Border Radius','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));

  // ----------- Social Icon Setting -------------

    $wp_customize->add_setting( 'advance_education_pro_social_icon_setting',array(
        'default' => '',
        'transport' => 'postMessage',
        'sanitize_callback' => 'sanitize_text_field'
    ));
    $wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_social_icon_setting',
        array(
        'label' => __('Social Icon Settings','advance-education-pro'),
        'section' => 'advance_education_pro_products_sidebar_settings'
    )));

    $wp_customize->add_setting('advance_education_pro_social_icon_width',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_social_icon_width',array(
        'label' => __('Social Icon Width','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting('advance_education_pro_social_icon_height',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_social_icon_height',array(
        'label' => __('Social Icon Height','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting('advance_education_pro_social_icon_border_radius',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_social_icon_border_radius',array(
        'label' => __('Social Icon Border Radius','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting('advance_education_pro_social_icon_padding',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_social_icon_padding',array(
        'label' => __('Social Icon Padding','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting( 'advance_education_pro_social_icon_bgcolor', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'advance_education_pro_social_icon_bgcolor', array(
        'label' => __('Social Icon Background Color', 'advance-education-pro'),
        'section' => 'advance_education_pro_products_sidebar_settings',
        'settings' => 'advance_education_pro_social_icon_bgcolor',
    )));

    // Featured iMage setting
	$wp_customize->add_setting( 'advance_education_pro_feature_image_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control( new Themeshopy_Seperator_custom_Control( $wp_customize, 'advance_education_pro_feature_image_settings',
	array(
		'label' => __('Featured Image Settings','advance-education-pro'),
		'section' => 'advance_education_pro_products_sidebar_settings'
	)));
    $wp_customize->add_setting( 'advance_education_pro_blog_featured_image_enable',
       array(
          'default' => 1,
          'transport' => 'refresh',
          'sanitize_callback' => 'advance_education_pro_switch_sanitization'
    ));
    $wp_customize->add_control( new advance_education_pro_Toggle_Switch_Custom_control( $wp_customize, 'advance_education_pro_blog_featured_image_enable',
         array(
            'label' => esc_html__( 'Hide/show featured image', 'advance-education-pro' ),
            'section' => 'advance_education_pro_products_sidebar_settings'
    )));
    //
    $wp_customize->add_setting( 'advance_education_pro_blog_featured_image_border_radius', array(
        'default'              => "",
        'type'                 => 'theme_mod',
        'transport'        => 'refresh',
        'sanitize_callback'    => 'absint',
        'sanitize_js_callback' => 'absint',
    ) );
    $wp_customize->add_control( 'advance_education_pro_blog_featured_image_border_radius', array(
        'label'       => esc_html__( 'Featured Image Border Radius','advance-education-pro' ),
        'section'     => 'advance_education_pro_products_sidebar_settings',
        'type'        => 'range',
        'input_attrs' => array(
          'step'             => 1,
          'min'              => 1,
          'max'              => 50,
    ),) );
    $wp_customize->add_setting('advance_education_pro_blog_featured_image_box_shadow',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('advance_education_pro_blog_featured_image_box_shadow',array(
        'label' => __('Featured Image Box Shadow in px','advance-education-pro'),
        'section'   => 'advance_education_pro_products_sidebar_settings',
        'type'      => 'text'
    )); 
    // -----------Woocommerce Product settings-------------------
    $wp_customize->add_section('advance_education_pro_woocom_product_setting',array(
        'title' => __('Woocommerce Product Settings','advance-education-pro'),
        'panel' => 'advance_education_pro_panel_id',
    ));
    $wp_customize->add_setting('advance_education_pro_product_sale_left_right_padding',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_product_sale_left_right_padding',array(
        'label' => __('Product Sale Left Right Padding','advance-education-pro'),
        'section'   => 'advance_education_pro_woocom_product_setting',
        'type'      => 'number'
    ));
    $wp_customize->add_setting('advance_education_pro_product_sale_top_bottom_padding',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_product_sale_top_bottom_padding',array(
        'label' => __('Product Sale Top Bottom Padding','advance-education-pro'),
        'section'   => 'advance_education_pro_woocom_product_setting',
        'type'      => 'number'
    ));
    $wp_customize->add_setting('advance_education_pro_product_sale_border_radius',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('advance_education_pro_product_sale_border_radius',array(
        'label' => __('Product Sale Border Radius','advance-education-pro'),
        'section'   => 'advance_education_pro_woocom_product_setting',
        'type'      => 'number'
    ));
?>