PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/eastfin/wp-content/themes/kingdom/modules/layout/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/eastfin/wp-content/themes/kingdom/modules/layout/options.php

<?php
/**
 * Dummy module return as json_encode
 * http://www.FG.name
 * =======================
 *
 * @author		Andrei Dinca, FG
 * @version		0.1 - in development mode
 */
echo json_encode(
	array(
		$tryed_module['db_alias'] => array(
		
			/* define the form_sizes  box */
			'config' => array(
				'title' 	=> 'General Settings',
				//'icon' 		=> '{theme_folder_uri}assets/menu_icon.png',
				'size' 		=> 'grid_4', // grid_1|grid_2|grid_3|grid_4
				'header' 	=> false, // true|false
				'toggler' 	=> false, // true|false
				'buttons' 	=> true, // true|false
				'style' 	=> 'panel', // panel|panel-widget
				
				// tabs
				'tabs'	=> array(
					'__tab1'	=> array(esc_html__('General SETUP', 'kingdom'), 'logo,border_radius,home_slider,revolution_slider_select'),
					'__tab2'	=> array(esc_html__('Colors', 'kingdom'), 'general-colors-setup,primary_color, secondary_color,menu-colors-setup,menu_normal_state_color,menu_hover_state_color,menu_background_color'),
					'__tab3'	=> array(esc_html__('Typography & Spacing', 'kingdom'), 'website_main_font,menu_font,main_menu_font_size,main_menu_submenu_font_size,main_content_font_size,h1-font-size,h2-font-size,content-font-size, main_menu_vertical_spacing,main_menu_horizontal_spacing,main_menu_submenu_top_margin'),
					'__tab4'	=> array(esc_html__('Shop', 'kingdom'), 'products_per_page,enable_product_general_description,product_general_description_type,enable_product_description_tab,enable_star_rating,enable_product_in_category,enable_product_tags'),
					'__tab5'	=> array(esc_html__('Social SETUP', 'kingdom'), 'facebook_url,linkedin_url,youtube_url,twitter_url,google_url,pinterest_url'),
					'__tab6'	=> array(esc_html__('Footer', 'kingdom'), 'enable_partners_module, footer_copyright,phone_support,amazon_url,discover_url,money_url,visa_url,paypal_url,mastercard_url'),
				),
				
				// create the box elements array
				'elements'	=> array(
					'logo' => array(
						'type' 			=> 'upload_image_wp',
						'size' 			=> 'large',
						'force_width'	=> '80',
						'preview_size'	=> 'large',	
						'value' 		=> esc_html__('Upload Image', 'kingdom'),
						'title' 		=> esc_html__('Logo', 'kingdom'),
						'desc' 			=> esc_html__('Upload your Logo using the native media uploader', 'kingdom'),
					),

					'general-colors-setup' => array(
						'type' => 'html',
						'html' => '<h2 class="kingdom-section-title" id="general-colors-setup">' . esc_html__('Main Colors:', 'dnh') . '</h2>',
					),
					
					'primary_color' => array(
						'type' 		=> 'color_picker',
						'std' 		=> '#C5403F',
						'size' 		=> 'large',
						'title'		=> esc_html__('Primary Color', 'kingdom'),
						'desc'		=> esc_html__('The primary color. Choose from the color picker. The default color is: #C5403F', 'kingdom')
					),
					
					'secondary_color' => array(
						'type' 		=> 'color_picker',
						'std' 		=> '#2980B9',
						'size' 		=> 'large',
						'title'		=> esc_html__('Secondary Color', 'kingdom'),
						'desc'		=> esc_html__('The secondary color. Choose from the color picker. The default color is: #2980B9', 'kingdom')
					),
					
					'menu-colors-setup' => array(
						'type' => 'html',
						'html' => '<h2 class="kingdom-section-title" id="menu-colors-setup">' . esc_html__('Menu Colors:', 'dnh') . '</h2>',
					),
					
					'menu_normal_state_color' => array(
						'type' 		=> 'color_picker',
						'std' 		=> '#2c3e50',
						'size' 		=> 'large',
						'title'		=> esc_html__('Menu Normal State Color', 'kingdom'),
						'desc'		=> esc_html__('The Menu Normal State color. Choose from the color picker. The default color is: #2c3e50', 'kingdom')
					),
					
					'menu_hover_state_color' => array(
						'type' 		=> 'color_picker',
						'std' 		=> '#c0392b',
						'size' 		=> 'large',
						'title'		=> esc_html__('Menu Hover State Color', 'kingdom'),
						'desc'		=> esc_html__('The Menu Hover State color. Choose from the color picker. The default color is: #c0392b', 'kingdom')
					),
					
					'menu_background_color' => array(
						'type' 		=> 'color_picker',
						'std' 		=> '#FFFFFF',
						'size' 		=> 'large',
						'title'		=> esc_html__('Menu Background Color', 'kingdom'),
						'desc'		=> esc_html__('The Menu Background color. Choose from the color picker. The default color is: #FFFFFF', 'kingdom')
					),
					
					'border_radius' => array(
						'type' 		=> 'select',
						'std' 		=> 'yes',
						'size' 		=> 'large',
						'force_width'=> '120',
						'title'		=> esc_html__('Rounded border', 'kingdom'),
						'desc'		=> esc_html__('Want rounderd border? Default is YES.', 'kingdom'),
						'options'	=> array(
							'yes' => 'YES',
							'no' => 'NO',
						)
					),
					
					'website_main_font' => array(
						'type' 		=> 'google-font-select',
						'std' 		=> 'Open Sans',
						'size' 		=> 'small',
						'title'		=> esc_html__('Website Main Font Family', 'kingdom'),
						'desc'		=> esc_html__('Choose the primary font for your website. Default is Open Sans', 'kingdom')
					),
					
					'menu_font' => array(
						'type' 		=> 'google-font-select',
						'std' 		=> 'Open Sans',
						'size' 		=> 'small',
						'title'		=> esc_html__('Main Menu Font Family', 'kingdom'),
						'desc'		=> esc_html__('Choose the font for your main menu. Default is Open Sans', 'kingdom')
					),
					
					'main_menu_font_size' => array(
						'type' 		=> 'range',
						'std' 		=> '18',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '40',
						'title'		=> esc_html__('Main Menu Font Size', 'kingdom'),
						'desc'		=> esc_html__('Choose the main menu font size for your website. Default is 18px', 'kingdom')
					),
					
					'main_menu_submenu_font_size' => array(
						'type' 		=> 'range',
						'std' 		=> '14',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '40',
						'title'		=> esc_html__('Main Menu Submenu Font Size', 'kingdom'),
						'desc'		=> esc_html__('Main menu submenu font size for your website. Default is 14px', 'kingdom')
					),
					
					'main_menu_vertical_spacing' => array(
						'type' 		=> 'range',
						'std' 		=> '20',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '60',
						'title'		=> esc_html__('Main Menu Vertical Spacing', 'kingdom'),
						'desc'		=> esc_html__('Main menu vertical spacing between menu elements in px. Default is 20px', 'kingdom')
					),
					
					'main_menu_horizontal_spacing' => array(
						'type' 		=> 'range',
						'std' 		=> '20',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '60',
						'title'		=> esc_html__('Main Menu Horizontal Spacing', 'kingdom'),
						'desc'		=> esc_html__('Main menu horizontal spacing between menu elements in px. Default is 20px', 'kingdom')
					),
					
					'main_menu_submenu_top_margin' => array(
						'type' 		=> 'range',
						'std' 		=> '60',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '100',
						'title'		=> esc_html__('Main Menu Submenu Top Margin', 'kingdom'),
						'desc'		=> esc_html__('Main Menu Submenu Top Margin in px. Default is 60px', 'kingdom')
					),
					
					'main_content_font_size' => array(
						'type' 		=> 'range',
						'std' 		=> '14',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '40',
						'title'		=> esc_html__('Main Content Font Size', 'kingdom'),
						'desc'		=> esc_html__('Main content font size for your website. Default is 14px', 'kingdom')
					),
					
					'h1-font-size' => array(
						'type' 		=> 'range',
						'std' 		=> '28',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '30',
						'title'		=> esc_html__('H1 Tags Font Size', 'kingdom'),
						'desc'		=> esc_html__('Choose the main H1 tags font size for your website. Default is 28px', 'kingdom')
					),
					
					'h2-font-size' => array(
						'type' 		=> 'range',
						'std' 		=> '18',
						'size' 		=> 'medium',
						'step'		=> '1',
						'min'		=> '1',
						'max'		=> '30',
						'title'		=> esc_html__('H2 Tags Font Size', 'kingdom'),
						'desc'		=> esc_html__('Choose the main H2 tags font size for your website. Default is 18px', 'kingdom')
					),
					
					'phone_support' => array(
						'type' 		=> 'text',
						'std' 		=> '24/7 Phone support: 0800 556-880',
						'size' 		=> 'large',
						'title'		=> esc_html__('Phone Support text', 'kingdom'),
						'desc'		=> esc_html__('The text for header Phone Support box', 'kingdom')
					),
					
					'footer_copyright' => array(
						'type' 		=> 'text',
						'std' 		=> '&copy; Copyright 2015 <a href="http://FG.com">FG</a>. All rights reserved.',
						'size' 		=> 'large',
						'title'		=> esc_html__('The Copyright text', 'kingdom'),
						'desc'		=> esc_html__('The text for footer copyright', 'kingdom')
					),
					
					'products_per_page' => array(
						'type' 		=> 'text',
						'std' 		=> '12',
						'size' 		=> 'small',
						'title'		=> esc_html__('Numer of products/page on category pages', 'amzStoreTheme'),
						'desc'		=> esc_html__('Input the number of products do you want to be displayed per page on category pages. Default is 12', 'amzStoreTheme')
					),
					
					'enable_star_rating' => array(
						'type' 		=> 'select',
						'std' 		=> 'true',
						'force_width'=> '80',
						'size' 		=> 'large',
						'title'		=> esc_html__('Show Star Rating', 'kingdom'),
						'desc'		=> esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
						'options'	=> array(
							'true' => 'Yes',
							'false'=> 'No'
						)
					),
					
					'enable_product_general_description' => array(
						'type' 		=> 'select',
						'std' 		=> 'true',
						'force_width'=> '80',
						'size' 		=> 'large',
						'title'		=> esc_html__('Show product details general description', 'kingdom'),
						'desc'		=> esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
						'options'	=> array(
							'true' => 'Yes',
							'false'=> 'No'
						)
					),
					
                    'product_general_description_type' => array(
                        'type'      => 'select',
                        'std'       => 'first_paragraph',
                        'force_width'=> '250',
                        'size'      => 'large',
                        'title'     => esc_html__('Product details general description uses', 'kingdom'),
                        'desc'      => esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
                        'options'   => array(
                            'first_paragraph'   => 'First paragraph from product content',
                            'short_desc'        => 'Woocommerce short description',
                        )
                    ),
					
					'enable_product_description_tab' => array(
						'type' 		=> 'select',
						'std' 		=> 'true',
						'force_width'=> '80',
						'size' 		=> 'large',
						'title'		=> esc_html__('Show product details description tab', 'kingdom'),
						'desc'		=> esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
						'options'	=> array(
							'true' => 'Yes',
							'false'=> 'No'
						)
					),
					
					'enable_product_in_category' => array(
						'type' 		=> 'select',
						'std' 		=> 'true',
						'force_width'=> '80',
						'size' 		=> 'large',
						'title'		=> esc_html__('Show product category', 'kingdom'),
						'desc'		=> esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
						'options'	=> array(
							'true' => 'Yes',
							'false'=> 'No'
						)
					),
					
					'enable_product_tags' => array(
						'type' 		=> 'select',
						'std' 		=> 'true',
						'force_width'=> '80',
						'size' 		=> 'large',
						'title'		=> esc_html__('Show product tags', 'kingdom'),
						'desc'		=> esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
						'options'	=> array(
							'true' => 'Yes',
							'false'=> 'No'
						)
					),
					
					'enable_partners_module' => array(
						'type' 		=> 'select',
						'std' 		=> 'true',
						'force_width'=> '80',
						'size' 		=> 'large',
						'title'		=> esc_html__('Show Partners Module in footer', 'kingdom'),
						'desc'		=> esc_html__('Activate or deactivate this feature for your theme.', 'kingdom'),
						'options'	=> array(
							'true' => 'Yes',
							'false'=> 'No'
						)
					),
					
					
					// second tab
					'facebook_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Facebook URL', 'kingdom'),
						'desc'		=> esc_html__('Put you facebook page url. E.g: http://facebook.com/your_page', 'kingdom')
					),
					
					'linkedin_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Linkedin URL', 'kingdom'),
						'desc'		=> esc_html__('Put you linkedin page url. E.g: http://linkedin.com/your_page', 'kingdom')
					),
					
					'youtube_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Youtube URL', 'kingdom'),
						'desc'		=> esc_html__('Put you youtube page url. E.g: http://youtube.com/your_page', 'kingdom')
					),
					
					'twitter_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Twitter URL', 'kingdom'),
						'desc'		=> esc_html__('Put you Twitter page url. E.g: http://twitter.com/your_page', 'kingdom')
					),
					
					'google_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Google URL', 'kingdom'),
						'desc'		=> esc_html__('Put you Google page url. E.g: http://google.com/your_page', 'kingdom')
					),
					
					'pinterest_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Pinterest URL', 'kingdom'),
						'desc'		=> esc_html__('Put you Pinterest page url. E.g: http://pinterest.com/your_page', 'kingdom')
					),
					
					
					// third tab
					'amazon_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Amazon URL', 'kingdom'),
						'desc'		=> esc_html__('Put you amazon page url.', 'kingdom')
					),
					
					'discover_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Linkedin URL', 'kingdom'),
						'desc'		=> esc_html__('Put you discover page url.', 'kingdom')
					),
					
					'money_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Money URL', 'kingdom'),
						'desc'		=> esc_html__('Put you money page url.', 'kingdom')
					),
					
					'visa_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Visa URL', 'kingdom'),
						'desc'		=> esc_html__('Put you visa page url.', 'kingdom')
					),
					
					'paypal_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Paypal URL', 'kingdom'),
						'desc'		=> esc_html__('Put you Paypal page url.', 'kingdom')
					),
					
					'mastercard_url' => array(
						'type' 		=> 'text',
						'std' 		=> '#',
						'size' 		=> 'large',
						'title'		=> esc_html__('Mastercard URL', 'kingdom'),
						'desc'		=> esc_html__('Put you Mastercard page url. ', 'kingdom')
					),
				)
			)
		)
	)
);