<?php
global $orangeThemes_fields;
$orangeThemes_general_options= array(



/* ------------------------------------------------------------------------*
 * HOME SETTINGS
 * ------------------------------------------------------------------------*/   

array(
	"type" => "homepage_blocks",
	"title" => esc_html__("Homepage Blocks:",'gadgetine-theme'),
	"id" => $orangeThemes_fields->themeslug."_homepage_blocks",
	"blocks" => array(
		array(
			"title" => esc_html__("Latest News",'gadgetine-theme'),
			"type" => "homepage_news_block",
			"image" => "icon-article.png",
			"description" => esc_html__("With large and small images",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Latest News",'gadgetine-theme'),
			"type" => "homepage_news_block_4",
			"image" => "icon-article.png",
			"description" => esc_html__("With large and medium images",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Latest News",'gadgetine-theme'),
			"type" => "homepage_news_block_5",
			"image" => "icon-article.png",
			"description" => esc_html__("With large and without small images",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Latest News",'gadgetine-theme'),
			"type" => "homepage_news_block_6",
			"image" => "icon-article.png",
			"description" => esc_html__("With small images",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Latest News",'gadgetine-theme'),
			"type" => "homepage_news_block_2a",
			"image" => "icon-article.png",
			"description" => esc_html__("Featured news style",'gadgetine-theme'),
			"options" => array(
			
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),

			),
		),
		array(
			"title" => esc_html__("Featured News",'gadgetine-theme'),
			"type" => "homepage_news_block_2",
			"image" => "icon-review.png",
			"description" => esc_html__("Featured News Block",'gadgetine-theme'),
			"options" => array(
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
			),
		),
		array(
			"title" => esc_html__("Latest Video Block",'gadgetine-theme'),
			"type" => "homepage_news_block_3",
			"image" => "icon-video.png",
			"description" => esc_html__("Latest News With Videos",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),

				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Popular Video Block",'gadgetine-theme'),
			"type" => "homepage_news_block_7",
			"image" => "icon-video.png",
			"description" => esc_html__("Popular News With Videos",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),

				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Popular News",'gadgetine-theme'),
			"type" => "homepage_news_block_8",
			"image" => "icon-review.png",
			"description" => esc_html__("Most Viewed News",'gadgetine-theme'),
			"options" => array(
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
			),
		),
		array(
			"title" => esc_html__("Shop",'gadgetine-theme'),
			"type" => "homepage_news_block_10",
			"image" => "icon-shop.png",
			"description" => esc_html__("Shop Items",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "product_cat",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array(
					"type" => "select",
					"title" => esc_html__("Type:",'gadgetine-theme'),
					"id" => $orangeThemes_fields->themeslug."_type",
					"options"=>array(
						array("slug"=>"1", "name"=>esc_html__("Latest",'gadgetine-theme')), 
						array("slug"=>"2", "name"=>esc_html__("Featured",'gadgetine-theme')), 
					),
					"home" => "yes"
				),	
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Block Title Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),					
			),
		),
		array(
			"title" => esc_html__("Reviews",'gadgetine-theme'),
			"type" => "homepage_news_block_11",
			"image" => "icon-review.png",
			"description" => esc_html__("Latest/Top reviews.",'gadgetine-theme'),
			"options" => array(
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_title", "title" => esc_html__("Title:",'gadgetine-theme'), "home" => "yes" ),
				array( "type" => "scroller", "id" => $orangeThemes_fields->themeslug."_count", "title" => esc_html__("Count:",'gadgetine-theme'), "max" => 30, "home" => "yes" ),
				array(
					"type" => "categories",
					"title" => esc_html__("Set Category",'gadgetine-theme'),
					"id" => $orangeThemes_fields->themeslug."_cat",
					"taxonomy" => "category",
					"home" => "yes"
				),
				array( "type" => "input", "id" => $orangeThemes_fields->themeslug."_offset", "title" => esc_html__("From which post should start the loop (for example 4 ), for default leave it empty, or add 0. (Offset):",'gadgetine-theme'), "home" => "yes" ),
				array(
					"type" => "select",
					"title" => esc_html__("Type:",'gadgetine-theme'),
					"id" => $orangeThemes_fields->themeslug."_type",
					"options"=>array(
						array("slug"=>"latest", "name"=>esc_html__("Latest Reviews",'gadgetine-theme')), 
						array("slug"=>"top", "name"=>esc_html__("Top Reviews",'gadgetine-theme')), 
					),
					"home" => "yes"
				),				
				array( 
					"type" => "color", 
					"id" => $orangeThemes_fields->themeslug."_color", 
					"title" => esc_html__("Color:",'gadgetine-theme'),
					"std" => get_option(THEME_NAME."_default_cat_color"),
					"home" => "yes"
				),
			),
		),
		array(
			"title" => esc_html__("Text Block",'gadgetine-theme'),
			"type" => "text_block",
			"image" => "icon-text.png",
			"description" => esc_html__("Custom Text Block/Shortcodes Block",'gadgetine-theme'),
			"options" => array(
				array( "type" => "textarea", "id" => $orangeThemes_fields->themeslug."_text", "title" => esc_html__("Text:",'gadgetine-theme'), "upload" => "yes",  "editor" => "yes", "home" => "yes" ),
			),
		),
		array(
			"title" => esc_html__("HTML Code",'gadgetine-theme'),
			"type" => "homepage_html",
			"image" => "icon-html.png",
			"description" => esc_html__("Custom HTML/Shortcodes Block",'gadgetine-theme'),
			"options" => array(
				array( "type" => "textarea", "id" => $orangeThemes_fields->themeslug."_html", "title" => esc_html__("Code/Text:",'gadgetine-theme'), "home" => "yes" ),
			),
		),
		array(
			"title" => esc_html__("Banner Block",'gadgetine-theme'),
			"type" => "homepage_banner",
			"image" => "icon-banner.png",
			"description" => esc_html__("Supports HTML,CSS, Javascript and Shortcodes.",'gadgetine-theme'),
			"options" => array(
				array( "type" => "textarea", "id" => $orangeThemes_fields->themeslug."_banner", "title" => esc_html__("Code/Text:",'gadgetine-theme'), "home" => "yes","sample" => '<a href="http://www.orange-themes.com" target="_blank"><img src="'.THEME_IMAGE_URL.'no-banner-430x100.jpg" alt="" title="" /></a>', ),
			),
		),

	)
),


 
 );


$orangeThemes_fields->add_options($orangeThemes_general_options);
?>