<?php
// Footer Section Settings and Controls
Kirki::add_section( 'footer_sections', array(
    'title'       => esc_html__( 'Footer Sections', 'faith-blog' ),
    'panel'       => 'faith_blog_global_panel',
    'priority'    => 15,
    'capability'  => 'edit_theme_options',
) );

// Transparent Footer Background
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'checkbox',
    'settings'    => 'transparent_footer_bg',
    'label'       => esc_html__( 'Transparent Footer Background', 'faith-blog' ),
    'section'     => 'footer_sections',
    'default'     => false,
    'transport'   => 'refresh',
] );

// Footer Column
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'radio',
    'settings'    => 'footer_column',
    'label'       => esc_html__( 'Footer Column', 'faith-blog' ),
    'section'     => 'footer_sections',
    'default'     => 'four',
    'choices'     => [
        'two'   => esc_html__( '2 Column', 'faith-blog' ),
        'three' => esc_html__( '3 Column', 'faith-blog' ),
        'four'  => esc_html__( '4 Column', 'faith-blog' ),
    ],
    'transport'   => 'refresh',
] );
