<?php 


// Footer Controls


new \Kirki\Field\Checkbox_Switch([
        'type'        => 'switch',
        'settings'    => 'back_to_top',
        'label'       => esc_html__( 'Show back Top','edify'),
        'section'     => 'footer_section_id',
        'default'     => '1',
        'priority'    => 10,
        'choices'     => [
            'on'  => esc_html__( 'Yes','edify'),
            'off' => esc_html__( 'No','edify'),
        ],
    ] );
  
    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'textarea',
        'settings'    => 'copyright',
        'label'       => esc_html__( 'Copyright Text','edify'),
        'section'     => 'footer_section_id',
        'default'     => esc_html__( '© Copyright bravia All rights reserved.Crafted by pxelcode','edify'),
        'priority'    => 10,
        'tab'      => 'general',
    ] );

    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'text',
        'settings'    => 'copyright_author',
        'label'       => esc_html__( 'Copyright Author','edify'),
        'section'     => 'footer_section_id',
        'default'     => esc_html__( 'Crafted by pxelcode','edify'),
        'priority'    => 10,
        'tab'      => 'general',
    ] );

    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'url',
        'settings'    => 'copyright_link',
        'label'       => esc_html__( 'Copyright Website Link','edify'),
        'section'     => 'footer_section_id',
        'default'     => esc_html__( '#','edify'),
        'priority'    => 10,
        'tab'      => 'general',
    ] );
