<?php
/**
	This File handles Customizer Options
	* @version:1.0
*/


						
/*--------------------------------------------------------------------------
	  --------------------------------------------------------------------------
				Home Page About Section	
	--------------------------------------------------------------------------
	--------------------------------------------------------------------------*/
			
		Kirki::add_section( 'homepage_about', array(
			'title'          => __( 'About Setting' , 'plumbing-lite' ),
			'description'    => __( 'From here you can manage Home Page about section' , 'plumbing-lite' ),
			'panel'          => 'homepage', 
			'priority'       => 160,
			'capability'     => 'edit_theme_options',
		) );
			Kirki::add_field( 'plumbing-lite', array(
                'settings' => 'aboutussectiononoff',
                'label'    => __( 'Section ON/OFF', 'plumbing-lite' ),
                'section'  => 'homepage_about',
                'type'     => 'toggle',
                'priority' => 10,
                'default'  => 1,           
            ) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_about_title',
				'label'    => __( 'About Heading', 'plumbing-lite' ),
				'section'  => 'homepage_about',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('Innovative plumbing solutions ', 'plumbing-lite'), 
			  
			) );
			
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_about_text',
				'label'    => __( 'About Content', 'plumbing-lite' ),
				'section'  => 'homepage_about',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable.', 
			 
			) );
 		

		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_about_image',
				'label'    => __( 'Inner Pages Title Background image', 'plumbing-lite' ),
				'section'  => 'homepage_about',
				'type'     => 'image',
				'priority' => 10,
				'default'  => get_template_directory_uri() . '/assets/images/dims.jpg',
				//'active_callback' => 'is_not_front_page', 
			 
			) );




	/*--------------------------------------------------------------------------
	  --------------------------------------------------------------------------
				Home Page Offer Section	
	--------------------------------------------------------------------------
	--------------------------------------------------------------------------*/
			
		Kirki::add_section( 'homepage_offer', array(
			'title'          => __( 'Offer Setting' , 'plumbing-lite' ),
			'description'    => __( 'From here you can manage Home Page offer section' , 'plumbing-lite' ),
			'panel'          => 'homepage', 
			'priority'       => 160,
			'capability'     => 'edit_theme_options',
		) );
		Kirki::add_field( 'plumbing-lite', array(
                'settings' => 'solutionsonoff',
                'label'    => __( 'Section ON/OFF', 'plumbing-lite' ),
                'section'  => 'homepage_offer',
                'type'     => 'toggle',
                'priority' => 10,
                'default'  => 1,           
            ) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_title',
				'label'    => __( 'Offer Heading', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('What we offer', 'plumbing-lite'), 
			  
			) );
			
			Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_title1',
				'label'    => __( 'Offer 1', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('Building construction', 'plumbing-lite'), 
			  
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_text1',
				'label'    => __( 'Offer Content 1', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'Lorem Ipsum is simply dummy text of the print-ing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy', 
			 
			) );
 		
		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_image1',
				'label'    => __( 'Offer Image 1', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'image',
				'priority' => 10,
				'default'  => get_template_directory_uri() . '/assets/images/cns-1.png',
			 
			) );	

		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_title2',
				'label'    => __( 'Offer 2', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('Project planning', 'plumbing-lite'), 
			  
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_text2',
				'label'    => __( 'Offer Content 2', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'Lorem Ipsum is simply dummy text of the print-ing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy', 
			 
			) );
 		
		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_image2',
				'label'    => __( 'Offer Image 2', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'image',
				'priority' => 10,
				'default'  => get_template_directory_uri() . '/assets/images/cns-2.jpg',
			 
			) );	

		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_title3',
				'label'    => __( 'Offer 3', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('House renovation', 'plumbing-lite'), 
			  
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_text3',
				'label'    => __( 'Offer Content 3', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'Lorem Ipsum is simply dummy text of the print-ing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy', 
			 
			) );
 		
		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_offer_image3',
				'label'    => __( 'Offer Image 3', 'plumbing-lite' ),
				'section'  => 'homepage_offer',
				'type'     => 'image',
				'priority' => 10,
				'default'  => get_template_directory_uri() . '/assets/images/cns-3.jpg',
			 
			) );	

		/*--------------------------------------------------------------------------
	  --------------------------------------------------------------------------
				Home Page Features Section	
	--------------------------------------------------------------------------
	--------------------------------------------------------------------------*/
			
		Kirki::add_section( 'homepage_features', array(
			'title'          => __( 'Features Setting' , 'plumbing-lite' ),
			'description'    => __( 'From here you can manage Home Page features section' , 'plumbing-lite' ),
			'panel'          => 'homepage', 
			'priority'       => 160,
			'capability'     => 'edit_theme_options',
		) );
		Kirki::add_field( 'plumbing-lite', array(
                'settings' => 'featuresonoff',
                'label'    => __( 'Section ON/OFF', 'plumbing-lite' ),
                'section'  => 'homepage_features',
                'type'     => 'toggle',
                'priority' => 10,
                'default'  => 1,           
            ) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_features_title',
				'label'    => __( 'Feature Heading', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('Why Chhose Us', 'plumbing-lite'), 
			  
			) );
			
			Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_title1',
				'label'    => __( 'Feature 1', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('30+ Years of  experience', 'plumbing-lite'), 
			  
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_text1',
				'label'    => __( 'Feature Description 1', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', 
			 
			) );

  			Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_title2',
				'label'    => __( 'Feature 2', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('Qualified Experts', 'plumbing-lite'), 
			  
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_text2',
				'label'    => __( 'Feature Description 2', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', 
			 
			) );

  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_title3',
				'label'    => __( 'Feature 3', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'text',
				'priority' => 10,
				'default'  => __('Best Customer Services', 'plumbing-lite'), 
			  
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_text3',
				'label'    => __( 'Feature Description 3', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'textarea',
				'priority' => 10,
				'default'  => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', 
			 
			) );
  		Kirki::add_field( 'plumbing-lite', array(
				'settings' => 'homepage_feature_image',
				'label'    => __( 'Inner Page Background image', 'plumbing-lite' ),
				'section'  => 'homepage_features',
				'type'     => 'image',
				'priority' => 10,
				'default'  => get_template_directory_uri() . '/assets/images/pp.png',
				//'active_callback' => 'is_not_front_page', 
			 
			) );