<?php 

new \Kirki\Field\Checkbox_Switch(
	[
    'type'        => 'switch',
    'settings'    => 'edify_hide_banner',
    'label'       => esc_html__( 'Show Page Banner','edify'),
    'section'     => 'page_header_section_id',
    'default'     => 'on',
    'priority'    => 10,
    'choices'     => [
        'on'  => esc_html__( 'Yes','edify'),
        'off' => esc_html__( 'No','edify'),
    ],
] );

new \Kirki\Field\Color(
         [
        'type'        => 'color',
        'settings'    => 'page_banner_color',
        'label'       => __( 'Page Banner Color','edify'),
        'description'       => __( 'This is a Breadcrumb bg color control','edify'),
        'section'     => 'page_header_section_id',
        'default'     => '',
        'active_callback' => [
            [
                'setting'  => 'edify_hide_banner',
                'operator' => '==',
                'value'    => 'on',
            ]
        ],
        'choices'     => [
			'alpha' => true,
		    ],
        ],
        
    );   
    


/**
 * Save data as integer (image ID)
 */
new \Kirki\Field\Image(
	[
		'settings'    => 'breadcrumb_bg_img',
		'label'       => esc_html__( 'Breadcrumb Background Image', 'edify' ),
		'description' => esc_html__( 'Breadcrumb Background Image', 'edify' ),
		'section'     => 'page_header_section_id',
		'default'     => '',
	
		'active_callback' => [
            [
                'setting'  => 'edify_hide_banner',
                'operator' => '==',
                'value'    => 'on',
            ]
        ],
        	'choices'     => [
			'save_as' => 'id',
		],
	]
);



Kirki::add_field( 'db_theme_config_id', [
    'type'        => 'text',
    'settings'    => 'blog_title_breadcrumb',
    'label'       => esc_html__( 'Blog Breacrumb Text','edify'),
    'section'     => 'page_header_section_id',
    'default'     => esc_html__( 'Blog','edify'),
    'priority'    => 10,
] );


Kirki::add_field( 'db_theme_config_id', [
    'type'        => 'text',
    'settings'    => 'blog_title',
    'label'       => esc_html__( 'Blog Page Title','edify'),
    'section'     => 'page_header_section_id',
    'default'     => esc_html__( 'Blog Page','edify'),
    'priority'    => 10,
] );


Kirki::add_field( 'db_theme_config_id', [
    'type'        => 'text',
    'settings'    => 'contact_title_breadcrumb',
    'label'       => esc_html__( 'Contact Breacrumb Text','edify'),
    'section'     => 'page_header_section_id',
    'default'     => esc_html__( 'Contact','edify'),
    'priority'    => 10,
] );


Kirki::add_field( 'db_theme_config_id', [
    'type'        => 'text',
    'settings'    => 'contact_title',
    'label'       => esc_html__( 'Contact Page Title','edify'),
    'section'     => 'page_header_section_id',
    'default'     => esc_html__( 'Contact Page','edify'),
    'priority'    => 10,
] );




   