<?php
/**
 * Typography options
 *
 * @package Theme Palace
 * @subpackage Raise Charity Pro
 * @since Raise Charity Pro 1.0.0
 */

// Typography Section
$wp_customize->add_section( 'raise_charity_pro_section_typography',
	array(
		'title'      		=> esc_html__( 'Typography', 'raise-charity-pro' ),
		'priority'   		=> 600,
		'panel'      		=> 'raise_charity_pro_theme_options_panel',
	)
);

$wp_customize->add_setting( 'raise_charity_pro_theme_options[theme_menu_typography]',
	array(
		'sanitize_callback'	=> 'raise_charity_pro_sanitize_select',
	)
);
$wp_customize->add_control( 'raise_charity_pro_theme_options[theme_menu_typography]',
    array(
		'label'       		=> esc_html__( 'Choose Menu Typography', 'raise-charity-pro' ),
		'section'     		=> 'raise_charity_pro_section_typography',
		'settings'    		=> 'raise_charity_pro_theme_options[theme_menu_typography]',
		'type'		  		=> 'select',
		'choices'			=> raise_charity_pro_typography_options(),
    )
);

$wp_customize->add_setting( 'raise_charity_pro_theme_options[theme_site_title_typography]',
	array(
		'sanitize_callback'	=> 'raise_charity_pro_sanitize_select',
	)
);
$wp_customize->add_control( 'raise_charity_pro_theme_options[theme_site_title_typography]',
    array(
		'label'       		=> esc_html__( 'Choose Site Title Typography', 'raise-charity-pro' ),
		'section'     		=> 'raise_charity_pro_section_typography',
		'settings'    		=> 'raise_charity_pro_theme_options[theme_site_title_typography]',
		'type'		  		=> 'select',
		'choices'			=> raise_charity_pro_typography_options(),
    )
);

$wp_customize->add_setting( 'raise_charity_pro_theme_options[theme_site_description_typography]',
	array(
		'sanitize_callback'	=> 'raise_charity_pro_sanitize_select',
	)
);
$wp_customize->add_control( 'raise_charity_pro_theme_options[theme_site_description_typography]',
    array(
		'label'       		=> esc_html__( 'Choose Site Description Typography', 'raise-charity-pro' ),
		'section'     		=> 'raise_charity_pro_section_typography',
		'settings'    		=> 'raise_charity_pro_theme_options[theme_site_description_typography]',
		'type'		  		=> 'select',
		'choices'			=> raise_charity_pro_typography_options(),
    )
);

$wp_customize->add_setting( 'raise_charity_pro_theme_options[theme_btn_label_typography]',
	array(
		'sanitize_callback'	=> 'raise_charity_pro_sanitize_select',
	)
);
$wp_customize->add_control( 'raise_charity_pro_theme_options[theme_btn_label_typography]',
    array(
		'label'       		=> esc_html__( 'Choose Button Label Typography', 'raise-charity-pro' ),
		'section'     		=> 'raise_charity_pro_section_typography',
		'settings'    		=> 'raise_charity_pro_theme_options[theme_btn_label_typography]',
		'type'		  		=> 'select',
		'choices'			=> raise_charity_pro_typography_options(),
    )
);



$wp_customize->add_setting( 'raise_charity_pro_theme_options[theme_head_typography]',
	array(
		'sanitize_callback'	=> 'raise_charity_pro_sanitize_select',
	)
);

$wp_customize->add_control( 'raise_charity_pro_theme_options[theme_head_typography]',
    array(
		'label'       		=> esc_html__( 'Choose Heading Typography', 'raise-charity-pro' ),
		'section'     		=> 'raise_charity_pro_section_typography',
		'settings'    		=> 'raise_charity_pro_theme_options[theme_head_typography]',
		'type'		  		=> 'select',
		'choices'			=> raise_charity_pro_typography_options(),
    )
);

$wp_customize->add_setting( 'raise_charity_pro_theme_options[theme_body_typography]',
	array(
		'sanitize_callback'	=> 'raise_charity_pro_sanitize_select',
	)
);
$wp_customize->add_control( 'raise_charity_pro_theme_options[theme_body_typography]',
    array(
		'label'       		=> esc_html__( 'Choose Body Typography', 'raise-charity-pro' ),
		'section'     		=> 'raise_charity_pro_section_typography',
		'settings'    		=> 'raise_charity_pro_theme_options[theme_body_typography]',
		'type'		  		=> 'select',
		'choices'			=> raise_charity_pro_typography_options(),
    )
);