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

$wp_customize->add_setting(
    'newsmaster_options[enable_social_mobile_menu]',
    array(
        'default'           => $newsmaster_default['enable_social_mobile_menu'],
        'sanitize_callback' => 'newsmaster_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'newsmaster_options[enable_social_mobile_menu]',
    array(
        'label'         => esc_html__( 'Social Menu to Display in Mobile', 'newsmaster' ),
        'section'     => 'mobile_menu_options',
        'type'        => 'checkbox',
    )
);

$wp_customize->add_setting(
    'newsmaster_options[select_mobile_social_menu_style]',
    array(
        'default'           => $newsmaster_default['select_mobile_social_menu_style'],
        'sanitize_callback' => 'newsmaster_sanitize_select',
    )
);
$wp_customize->add_control(
    'newsmaster_options[select_mobile_social_menu_style]',
    array(
        'label'         => esc_html__( 'Social Menu Options', 'newsmaster' ),
        'section'     => 'mobile_menu_options',
        'type'        => 'select',
        'choices'       => newsmaster_social_menu_style(),


    )
);

$wp_customize->add_setting(
    'newsmaster_options[enable_mobile_social_nav_border_radius]',
    array(
        'default'           => $newsmaster_default['enable_mobile_social_nav_border_radius'],
        'sanitize_callback' => 'newsmaster_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'newsmaster_options[enable_mobile_social_nav_border_radius]',
    array(
        'label'    => __( 'Enable Border Radius', 'newsmaster' ),
        'section'  => 'mobile_menu_options',
        'type'     => 'checkbox',
    )
);


$wp_customize->add_setting(
    'newsmaster_options[enable_copyright_in_menu]',
    array(
        'default'           => $newsmaster_default['enable_copyright_in_menu'],
        'sanitize_callback' => 'newsmaster_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'newsmaster_options[enable_copyright_in_menu]',
    array(
        'label'         => esc_html__( 'Copyright in Mobile', 'newsmaster' ),
        'section'     => 'mobile_menu_options',
        'type'        => 'checkbox',
    )
);


