<?php
Kirki::add_section( 'faith_blog_post_page', array(
    'title'       => esc_html__( 'Single Post', 'faith-blog' ),
    'panel'       => 'faith_blog_global_panel',
) );

// Single Post Sidebar
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'select',
    'settings'    => 'single_page_sidebar',
    'label'       => esc_html__( 'Single Post Sidebar', 'faith-blog' ),
    'section'     => 'faith_blog_post_page',
    'default'     => 'right',
    'choices'     => [
        'left'  => esc_html__( 'Left Sidebar', 'faith-blog' ),
        'right' => esc_html__( 'Right Sidebar', 'faith-blog' ),
        'no'    => esc_html__( 'No Sidebar', 'faith-blog' ),
    ],
] );

// Post Navigation Show
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'checkbox',
    'settings'    => 'post_navigation_show',
    'label'       => esc_html__( 'Post Navigation Show', 'faith-blog' ),
    'section'     => 'faith_blog_post_page',
    'default'     => true,
] );

// Post Author Section Show
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'checkbox',
    'settings'    => 'post_author_section_show',
    'label'       => esc_html__( 'Post Author Section Show', 'faith-blog' ),
    'section'     => 'faith_blog_post_page',
    'default'     => true,
] );

// Post Comment Section Show
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'checkbox',
    'settings'    => 'post_comment_section_show',
    'label'       => esc_html__( 'Post Comment Section Show', 'faith-blog' ),
    'section'     => 'faith_blog_post_page',
    'default'     => true,
] );
