<?php

    Kirki::add_panel( 'cl_custom_types', array(
	    'priority'    => 20,
	    'type' => '',
	    'title'       => esc_html__( 'Custom Types', 'vibrance' ),
	    'tooltip' => esc_html__( 'All Custom Types Options', 'vibrance' ),
	) );
	    
	    
	    Kirki::add_section( 'cl_custom_portfolio', array(
    	    'title'          => esc_html__( 'Portfolio', 'vibrance' ),
    	    'description'    => esc_html__( 'All Portfolio Page and single options', 'vibrance' ),
    	    'panel'          => 'cl_custom_types',
    	    'type'			 => '',
    	    'priority'       => 160,
    	    'capability'     => 'edit_theme_options'
    	) );

    	Kirki::add_section( 'cl_custom_staff', array(
    	    'title'          => esc_html__( 'Staff', 'vibrance' ),
    	    'description'    => esc_html__( 'All Staff (Members) options', 'vibrance' ),
    	    'panel'          => 'cl_custom_types',
    	    'type'			 => '',
    	    'priority'       => 160,
    	    'capability'     => 'edit_theme_options'
    	) );
 
    	Kirki::add_section( 'cl_custom_testimonial', array(
    	    'title'          => esc_html__( 'Testimonial', 'vibrance' ),
    	    'description'    => esc_html__( 'All Testimonial options', 'vibrance' ),
    	    'panel'          => 'cl_custom_types',
    	    'type'			 => '',
    	    'priority'       => 160,
    	    'capability'     => 'edit_theme_options'
    	) );
    	

    	Kirki::add_field( 'cl_vibrance', array(

			'settings' => 'portfolio_slug',
			'label'    => esc_html__( 'Portfolio Slug', 'vibrance' ),
			'tooltip' => esc_html__( 'Used as prefix for portfolio items links', 'vibrance' ),
			'section'  => 'cl_custom_portfolio',
			'type'     => 'text',
			'default'  => 'portfolio',
			'transport' => 'postMessage'

			) );

			Kirki::add_field( 'cl_vibrance', array(

				'settings' => 'portfolio_cat_slug',
				'label'    => esc_html__( 'Portfolio Categories Slug', 'vibrance' ),
				'tooltip' => esc_html__( 'Used as prefix for portfolio categories links', 'vibrance' ),
				'section'  => 'cl_custom_portfolio',
				'type'     => 'text',
				'default'  => 'portfolio_entries',
				'transport' => 'postMessage'
	
				) );

    	Kirki::add_field( 'cl_vibrance', array(
			'settings' => 'single_portfolio_navigation',
			'label'    => esc_html__( 'Single Portfolio Nav ', 'vibrance' ),
			'tooltip' => esc_html__( 'Turn On / Off Portfolio Navigation functionalities', 'vibrance' ),
			'section'  => 'cl_custom_portfolio',
			'type'     => 'switch',
			'priority' => 10,
			'default'  => 1,
			'choices'     => array(
				1  => esc_attr__( 'Enable', 'vibrance' ),
				0 => esc_attr__( 'Disable', 'vibrance' ),
			),
		) );

			
			

?>