<?php
// Add Footer Options Section
Kirki::add_section( 'footer_options', array(
	'title'       => __( 'Footer Options', 'minimalblog' ),
	'panel'       => 'minimalblog',
	'priority'    => 10,
	'capability'  => 'edit_theme_options',
) );

// Footer Column
Kirki::add_field( 'minimalblog', array(
	'type'        => 'radio',
	'settings'    => 'footer_column',
	'label'       => __( 'Footer Column', 'minimalblog' ),
	'section'     => 'footer_options',
	'default'     => 3,
	'transport'   => 'refresh',
	'capability'  => 'edit_theme_options',
	'sanitize_callback' => 'minimalblog_sanitize_radio',
	'choices'     => array(
		'2' => __( '2 Column', 'minimalblog' ),
		'3' => __( '3 Column', 'minimalblog' ),
		'4' => __( '4 Column', 'minimalblog' ),
	),
) );

// Copyright Text
Kirki::add_field( 'minimalblog', array(
	'type'        => 'textarea',
	'settings'    => 'copyright_text',
	'label'       => __( 'Copyright Text', 'minimalblog' ),
	'section'     => 'footer_options',
	'default'     => '',
	'transport'   => 'refresh',
	'capability'  => 'edit_theme_options',
	'sanitize_callback' => 'wp_kses_post',
) );