<?php

Kirki::add_field( 'db_theme_config_id', [
    'type'        => 'switch',
    'settings'    => 'show_blog_banner',
    'label'       => esc_html__( 'Show Page Banner','edify'),
    'section'     => 'blog_section_id',
    'default'     => '1',
    'priority'    => 10,
    'choices'     => [
        'on'  => esc_html__( 'Yes','edify'),
        'off' => esc_html__( 'No','edify'),
    ],
] );


   new \Kirki\Field\Select( [
        'type'        => 'select',
        'settings'    => 'blog_layout',
        'label'       => esc_html__( 'Blog Layout','edify'),
        'section'     => 'blog_section_id',
        'default'     => 'grid',
        'placeholder' => esc_html__( 'Choose Layout','edify'),
        'priority'    => 10,
        'choices'     => [
            'grid' => esc_html__( 'Grid Layout','edify'),
            'list' => esc_html__( 'List Layout','edify'),
            'card' => esc_html__( 'Card Layout','edify'),
        ],
    ] );


   

    new \Kirki\Field\Select( [
        'type'        => 'select',
        'settings'    => 'blog_column',
        'label'       => esc_html__( 'Desktop Column','edify'),
        'section'     => 'blog_section_id',
        'default'     => '4',
        'placeholder' => esc_html__( 'Select Column','edify'),
        'priority'    => 10,
        'multiple'    => 1,
        'choices'     => [
            '4' => esc_html__( '3 Columnn','edify'),
            '3' => esc_html__( '4 Column','edify'),
            '6' => esc_html__( '2 Column','edify'),
        ],
    ] );

    new \Kirki\Field\Select( [
        'type'        => 'select',
        'settings'    => 'post_laptop_column',
        'label'       => esc_html__( 'Laptop Column','edify'),
        'section'     => 'blog_section_id',
        'default'     => '6',
        'placeholder' => esc_html__( 'Select Column','edify'),
        'priority'    => 10,
        'multiple'    => 1,
        'choices'     => [
            '4' => esc_html__( '3 Columnn','edify'),
            '3' => esc_html__( '4 Column','edify'),
            '6' => esc_html__( '2 Column','edify'),
        ],
    ] );


    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'switch',
        'settings'    => 'show_post_btn',
        'label'       => esc_html__( 'Show Button','edify'),
        'section'     => 'blog_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'        => 'switch',
        'settings'    => 'show_post_content',
        'label'       => esc_html__( 'Show Content','edify'),
        'section'     => 'blog_section_id',
        'default'     => '1',
        'priority'    => 10,
        'choices'     => [
            'on'  => esc_html__( 'Yes','edify'),
            'off' => esc_html__( 'No','edify'),
        ],
    ] );