<?php 
    class Edumodo_Customizer_Footer_Layout{
        private $panel_key;
        private $priority;
        private $text_domain = 'edumodo';
        public function __construct($panel_key, $priority){
            $this->panel_key = $panel_key;
            $this->priority = $priority;
            $this->footer_widget_kirki_config();
        }
        public function footer_widget_kirki_config(){
            
            #	start of blog region 
                Kirki::add_section( 'edumodo_section_footer_layout', array(
                    'title'          => esc_html__( 'Layout', $this->text_domain ),
                    'panel'          => $this->panel_key,
                    'priority'       => $this->priority,
                ) );
                    Kirki::add_field( 'edumodo_section_footer_layout_select', [
                        'type'        => 'select',
                        'settings'    => 'edumodo_section_footer_layout_select',
                        'label'       => esc_html__( 'Layout', 'edumodo' ),
                        'section'     => 'edumodo_section_footer_layout',
                        'default'     => 'layout-1',
                        'choices'     => [
                            'layout-1'=> esc_html__( '1', 'edumodo' ),
                            'layout-2' => esc_html__( '2', 'edumodo' ),
                        ],
                        'priority'    => 10,
                    ] );
                    Kirki::add_field( 'edumodo_section_footer_column', [
                        'type'        => 'select',
                        'settings'    => 'edumodo_section_footer_column',
                        'label'       => esc_html__( 'Column', 'edumodo' ),
                        'section'     => 'edumodo_section_footer_layout',
                        'default'     => 'column-4',
                        'choices'     => [
                            'column-1'=> esc_html__( '1', 'edumodo' ),
                            'column-2' => esc_html__( '2', 'edumodo' ),
                            'column-3' => esc_html__( '3', 'edumodo' ),
                            'column-4' => esc_html__( '4', 'edumodo' ),
                        ],
                        'priority'    => 10,
                    ] );
                    
            #	end of blog region 


        }
    }
?>