<?php
/**
 * Customizer options for footer
 *
 * @package hasium
 */

// Enable/Disable Header Top Bar.
Kirki::add_field(
    'hasium_config', array(
        'type'     => 'toggle',
        'settings' => 'enable_scroll_to_top',
        'label'    => esc_html__( 'Enable Scroll To Top', 'hasium' ),
        'section'  => 'hasium_section_footer',
        'default'  => true,
    )
);

// Header top bar contact phone.
Kirki::add_field(
    'hasium_config', array(
        'type'     => 'text',
        'settings' => 'footer_info_contact_phone',
        'label'    => esc_html__( 'Contact Phone Number', 'hasium' ),
        'section'  => 'hasium_section_footer',
        'default'  => '',
    )
);

// Header top bar contact email.
Kirki::add_field(
    'hasium_config', array(
        'type'     => 'text',
        'settings' => 'footer_info_contact_email',
        'label'    => esc_html__( 'Contact Email', 'hasium' ),
        'section'  => 'hasium_section_footer',
        'default'  => '',
    )
);

// Header top bar contact email.
Kirki::add_field(
    'hasium_config', array(
        'type'     => 'text',
        'settings' => 'footer_info_contact_address',
        'label'    => esc_html__( 'Contact Address', 'hasium' ),
        'section'  => 'hasium_section_footer',
        'default'  => '',
    )
);

// Post slider.
// Category select.
Kirki::add_field(
    'hasium_config', array(
        'type'            => 'radio-buttonset',
        'settings'        => 'footer_info_background',
        'label'           => esc_html__( 'Category Select', 'hasium' ),
        'section'         => 'hasium_section_footer',
        'default'         => 'white',
        'choices'         => array(
            'white-bg'   => esc_attr__( 'White', 'hasium' ),
            'gray-bg'    => esc_attr__( 'Gray', 'hasium' ),
        ),
    )
);