<?php
$wp_customize->add_section(
   'mobile_menu_options' ,
    array(
        'title' => __( 'Mobile Menu Options', 'blogaura' ),
        'panel' => 'header_options_panel',
    )
);

$wp_customize->add_setting(
    'blogaura_options[enable_social_mobile_menu]',
    array(
        'default'           => $blogaura_default['enable_social_mobile_menu'],
        'sanitize_callback' => 'blogaura_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'blogaura_options[enable_social_mobile_menu]',
    array(
        'label'         => esc_html__( 'Social Menu to Display in Mobile', 'blogaura' ),
        'section'     => 'mobile_menu_options',
        'type'        => 'checkbox',
    )
);

$wp_customize->add_setting(
    'blogaura_options[select_mobile_social_menu_style]',
    array(
        'default'           => $blogaura_default['select_mobile_social_menu_style'],
        'sanitize_callback' => 'blogaura_sanitize_select',
    )
);
$wp_customize->add_control(
    'blogaura_options[select_mobile_social_menu_style]',
    array(
        'label'         => esc_html__( 'Social Menu Options', 'blogaura' ),
        'section'     => 'mobile_menu_options',
        'type'        => 'select',
        'choices'       => blogaura_social_menu_style(),


    )
);

$wp_customize->add_setting(
    'blogaura_options[enable_mobile_social_nav_border_radius]',
    array(
        'default'           => $blogaura_default['enable_mobile_social_nav_border_radius'],
        'sanitize_callback' => 'blogaura_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'blogaura_options[enable_mobile_social_nav_border_radius]',
    array(
        'label'    => __( 'Enable Border Radius', 'blogaura' ),
        'section'  => 'mobile_menu_options',
        'type'     => 'checkbox',
    )
);


$wp_customize->add_setting(
    'blogaura_options[enable_copyright_in_menu]',
    array(
        'default'           => $blogaura_default['enable_copyright_in_menu'],
        'sanitize_callback' => 'blogaura_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'blogaura_options[enable_copyright_in_menu]',
    array(
        'label'         => esc_html__( 'Copyright in Mobile', 'blogaura' ),
        'section'     => 'mobile_menu_options',
        'type'        => 'checkbox',
    )
);

$wp_customize->add_section(
   'streaming_button_options' ,
    array(
        'title' => __( 'Streaming Options', 'blogaura' ),
        'panel' => 'header_options_panel',
    )
);

$wp_customize->add_setting(
    'blogaura_options[enable_streaming_button]',
    array(
        'default'           => $blogaura_default['enable_streaming_button'],
        'sanitize_callback' => 'blogaura_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'blogaura_options[enable_streaming_button]',
    array(
        'label'         => esc_html__( 'Enable Streaming Button', 'blogaura' ),
        'section'     => 'streaming_button_options',
        'type'        => 'checkbox',
    )
);

$wp_customize->add_setting(
    'blogaura_options[streaming_button_text]',
    array(
        'default'           => $blogaura_default['streaming_button_text'],
        'sanitize_callback' => 'sanitize_text_field',
    )
);
$wp_customize->add_control(
    'blogaura_options[streaming_button_text]',
    array(
        'label'    => __( 'Streaming Button Text', 'blogaura' ),
        'section'  => 'streaming_button_options',
        'type'     => 'text',
    )
);

$wp_customize->add_setting(
    'blogaura_options[streaming_button_url]',
    array(
        'default'           => $blogaura_default['streaming_button_url'],
        'sanitize_callback' => 'esc_url_raw',
    )
);
$wp_customize->add_control(
    'blogaura_options[streaming_button_url]',
    array(
        'label'    => __( 'Streaming Button URL', 'blogaura' ),
        'section'  => 'streaming_button_options',
        'type'     => 'text',
    )
);
