<?php
/**
 * Customizer default options
 *
 * @package Theme Palace
 * @subpackage Photoistic
 * @since Photoistic 1.0.0
 * @return array An array of default values
 */

function photoistic_get_default_theme_options() {
	$theme_data = wp_get_theme();
	$photoistic_default_options = array(
		// Color Options
		'header_title_color'			=> '#fff',
		'header_tagline_color'			=> '#fff',
		'header_txt_logo_extra'			=> 'show-all',
		
		// typography Options
		'theme_typography' 				=> 'default',
		'body_theme_typography' 		=> 'default',

		//body typography
		'body_font_family'			=> 'Muli',
		'body_font_weight'			=> 300,
		'body_font_size'			=> 16,
		'body_font_style'			=> 'normal',
		'body_text_transform'		=> 'none',

		//h1 typography
		'heading_h1_font_family'		=> 'Raleway',
		'heading_h1_font_weight'		=> 300,
		'heading_h1_text_transform'		=> 'none',
		'heading_h1_font_style'			=> 'normal',

		//h2 typography
		'heading_h2_font_family'		=> 'Raleway',
		'heading_h2_font_weight'		=> 700,
		'heading_h2_text_transform'		=> 'none',
		'heading_h2_font_style'			=> 'normal',

		//h3 typography
		'heading_h3_font_family'		=> 'Raleway',
		'heading_h3_font_weight'		=> 700,
		'heading_h3_text_transform'		=> 'none',
		'heading_h3_font_style'			=> 'normal',

		//h4 typography
		'heading_h4_font_family'		=> 'Raleway',
		'heading_h4_font_weight'		=> 700,
		'heading_h4_text_transform'		=> 'none',
		'heading_h4_font_style'			=> 'normal',

		//h5 typography
		'heading_h5_font_family'		=> 'Raleway',
		'heading_h5_font_weight'		=> 700,
		'heading_h5_text_transform'		=> 'none',
		'heading_h5_font_style'			=> 'normal',

		//h6 typography
		'heading_h6_font_family'		=> 'Raleway',
		'heading_h6_font_weight'		=> 700,
		'heading_h6_text_transform'		=> 'none',
		'heading_h6_font_style'			=> 'normal',

		//p typography
		'heading_p_font_family'			=> 'Muli',
		'heading_p_font_weight'			=> 400,
		'heading_p_text_transform'		=> 'none',
		'heading_p_font_style'			=> 'normal',

		//button
		'button_background_color'		=> '#e5f8fc',
		'button_text_color'		=> '#00afe9',

		// breadcrumb
		'breadcrumb_enable'				=> true,
		'breadcrumb_separator'			=> '/',
		
		// layout 
		'site_layout'         			=> 'wide-layout',
		'sidebar_position'         		=> 'right-sidebar',
		'post_sidebar_position' 		=> 'right-sidebar',
		'page_sidebar_position' 		=> 'right-sidebar',

		// excerpt options
		'long_excerpt_length'           => 25,
		
		// pagination options
		'pagination_enable'         	=> true,
		'pagination_type'         		=> 'default',

		// footer options
		'copyright_text'           		=> sprintf( esc_html_x( 'Copyright &copy; %1$s %2$s', '1: Year, 2: Site Title with home URL', 'photoistic' ), '[the-year]', '[site-link]' ),
		'scroll_top_visible'        	=> true,

		// reset options
		'reset_options'      			=> false,
		
		// homepage options
		'enable_frontpage_content' 		=> false,

		'all_sortable'					=> 'slider,speciality,stories,promotion,recent_products,latest_posts',
		
		// blog/archive options
		'your_latest_posts_title' 		=> esc_html__( 'Blogs', 'photoistic' ),
		'single_post_hide_banner'		=> false,
		'hide_date' 					=> false,
		'hide_banner'					=> false,		
		'blog_page_column'				=> 'col-2',

		// single post theme options
		'single_post_hide_date' 		=> false,

		/* Front Page */

		// Slider
		'slider_section_enable'		=> false,
		'slider_btn_label'			=> esc_html__( 'See My Works', 'photoistic' ),

		// Speciality
		'speciality_section_enable'		=> false,
		'speciality_subtitle'			=> esc_html__( 'Why Choose Me', 'photoistic' ),
		'speciality_title'				=> esc_html__( 'My Specialities', 'photoistic' ),

		// stories
		'stories_section_enable'		=> false,
		'stories_subtitle'				=> esc_html__( 'Nature Photography', 'photoistic' ),
		'stories_title'					=> esc_html__( 'My Story', 'photoistic' ),

		// promotion
		'promotion_section_enable'			=> false,
		'promotion_btn_title'				=> esc_html__( 'EXPLORE NOW', 'photoistic' ),

		//recent products
		'recent_products_section_enable'	=> false,
		'recent_products_title'				=> esc_html__( 'My Gadgets', 'photoistic' ),
		'recent_products_sub_title'			=> esc_html__( 'Essential Items', 'photoistic' ),

		//latest_posts
		'latest_posts_section_enable'	=> false,
		'latest_posts_content_type'		=> 'post',
		'latest_posts_sub_title'		=> esc_html__( 'Latest Posts', 'photoistic' ),
		'latest_posts_title'			=> esc_html__( 'My Blogs', 'photoistic' ),

	);

	$output = apply_filters( 'photoistic_default_theme_options', $photoistic_default_options );

	// Sort array in ascending order, according to the key:
	if ( ! empty( $output ) ) {
		ksort( $output );
	}

	return $output;
}