<?php
return array(
	"title" => __("Blog", THEME_ADMIN_DOMAIN),
	"shortcode" => 'blog',
	"type" => 'self-closing',
	"options" => array(
		array(
			"name" => __("Count",THEME_ADMIN_DOMAIN),
			"desc" => __("Number of posts to show per page",THEME_ADMIN_DOMAIN),
			"id" => "count",
			"default" => '3',
			"min" => 1,
			"max" => 50,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Category (optional)",THEME_ADMIN_DOMAIN),
			"id" => "cat",
			"default" => array(),
			"target" => 'cat',
			"type" => "multiselect",
		),
		array(
			"name" => __("Posts (optional)",THEME_ADMIN_DOMAIN),
			"desc" => __("The specific posts you want to display",THEME_ADMIN_DOMAIN),
			"id" => "posts",
			"default" => array(),
			"target" => 'post',
			"type" => "multiselect",
		),
		array(
			"name" => __("Image",THEME_ADMIN_DOMAIN),
			"id" => "image",
			"desc" => __("If the option is on, it will display Featured Image of blog post",THEME_ADMIN_DOMAIN),
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Feature Image",THEME_ADMIN_DOMAIN),
			"id" => "imagetype",
			"default" => 'full',
			"options" => array(
				"full" => __('Full Width',THEME_ADMIN_DOMAIN),
				"left" => __('Float Left',THEME_ADMIN_DOMAIN),
				"right" => __('Float Right',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Display Default Image",THEME_ADMIN_DOMAIN),
			"id" => "default",
			"desc" => __("If the option is on, it will display Default Feature Image when this post doesn't have thumb image",THEME_ADMIN_DOMAIN),
			"default" => true,
			"type" => "toggle"
		),
		array (
			"name" => __("Height (optional)",THEME_ADMIN_DOMAIN),
			"desc" => __("The height of Feature image.",THEME_ADMIN_DOMAIN),
			"id" => "height",
			"default" => 0,
			"min" => 0,
			"max" => 960,
			"unit" => 'px',
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Multiple Categories (optional)",THEME_ADMIN_DOMAIN),
			"desc" => __("Display posts that are in multiple categories.",THEME_ADMIN_DOMAIN),
			"id" => "category__and",
			"default" => '',
			"target" => 'cat',
			"chosen" => true,
			"prompt" => __("Select Categories..",THEME_ADMIN_DOMAIN),
			"type" => "multiselect",
		),
		array(
			"name" => __("Exclude Categorie (optional)",THEME_ADMIN_DOMAIN),
			"id" => "category__not_in",
			"default" => '',
			"target" => 'cat',
			"chosen" => true,
			"prompt" => __("Select Categories..",THEME_ADMIN_DOMAIN),
			"type" => "multiselect",
		),
		array(
			"name" => __("Offset",THEME_ADMIN_DOMAIN),
			"desc" => __("Number of post to displace or pass over.",THEME_ADMIN_DOMAIN),
			"id" => "offset",
			"default" => '0',
			"min" => 0,
			"max" => 10,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Meta Information",THEME_ADMIN_DOMAIN),
			"id" => "meta",
			"desc" => __("If the option is on, it will display Meta Information of blog post",THEME_ADMIN_DOMAIN),
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Description",THEME_ADMIN_DOMAIN),
			"id" => "desc",
			"desc" => __("If the option is on, it will display Description of blog post",THEME_ADMIN_DOMAIN),
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Display Full Post",THEME_ADMIN_DOMAIN),
			"id" => "full",
			"desc" => __("If the option is on, it will display all content of the post",THEME_ADMIN_DOMAIN),
			"default" => false,
			"type" => "toggle"
		),
		array(
			"name" => __("Nopaging",THEME_ADMIN_DOMAIN),
			"id" => "nopaging",
			"desc" => __("If the option is on, it will disable pagination",THEME_ADMIN_DOMAIN),
			"default" => true,
			"type" => "toggle"
		),
		array(
			"name" => __("Order",THEME_ADMIN_DOMAIN),
			"desc" => __("Designates the ascending or descending order of the 'orderby' parameter.",THEME_ADMIN_DOMAIN),
			"id" => "order",
			"default" => 'ASC',
			"options" => array(
				"ASC" => __("ASC (ascending order)",THEME_ADMIN_DOMAIN),
				"DESC" => __("DESC (descending order)",THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Orderby",THEME_ADMIN_DOMAIN),
			"desc" => __("Sort retrieved portfolio items by parameter.",THEME_ADMIN_DOMAIN),
			"id" => "orderby",
			"default" => 'menu_order',
			"options" => array(
				"none" => __("No order",THEME_ADMIN_DOMAIN),
				"id" => __("Order by post id",THEME_ADMIN_DOMAIN),
				"author" => __("Order by author",THEME_ADMIN_DOMAIN),
				"title" => __("Order by title",THEME_ADMIN_DOMAIN),
				"date" => __("Order by date",THEME_ADMIN_DOMAIN),
				"modified" => __("Order by last modified date",THEME_ADMIN_DOMAIN),
				"parent" => __("Order by post/page parent id",THEME_ADMIN_DOMAIN),
				"rand" => __("Random order",THEME_ADMIN_DOMAIN),
				"comment_count" => __("Order by number of comments",THEME_ADMIN_DOMAIN),
				"menu_order" => __("Order by Page Order",THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Length of Description",THEME_ADMIN_DOMAIN),
			"desc" => __("If it's set to 0, it will use default setting",'striking_admin'),
			"id" => "desc_length",
			"default" => '0',
			"min" => 0,
			"max" => 200,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Display Read More button",THEME_ADMIN_DOMAIN),
			"id" => "read_more",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Read More Button Text",THEME_ADMIN_DOMAIN),
			"id" => "read_more_text",
			"default" => theme_get_option('blog','more_button_text'),
			"type" => "text",
		),
	),
);
