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

function enlightme_get_default_theme_options() {
	$theme_data = wp_get_theme();
	$enlightme_default_options = array(
		// Color Options
		'header_title_color'			=> '#2c2d39',
		'header_tagline_color'			=> '#990f12',
		'header_txt_logo_extra'			=> 'show-all',
		'home_layout'					=> 'default-design',

		// typography Options
		'theme_typography' 				=> 'default',
		'body_theme_typography' 		=> 'default',

		// breadcrumb
		'breadcrumb_enable'				=> (bool) 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'         	=> (bool) 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', 'enlightme' ), '[the-year]', '[site-link]' ),
		'scroll_top_visible'        	=> (bool) true,

		// reset options
		'reset_options'      			=> (bool) false,

		// homepage options
		'enable_frontpage_content' 		=> (bool) false,

		// homepage sections sortable
		'default_sortable'	=> 'slider,service,about,subscription,blog,team,featured,client',

		// blog/archive options
		'your_latest_posts_title' 		=> esc_html__( 'Blogs', 'enlightme' ),
		'hide_date' 					=> (bool) false,
		'hide_category'					=> (bool) false,
		'hide_author'					=> (bool) false,

		// single post theme options
		'single_post_hide_date' 		=> (bool) false,
		'single_post_hide_author'		=> (bool) false,

		/* Front Page */

		// topbar
		'topbar_section_enable'			=> (bool) false,
		'topbar_btn'				=> (bool) true,
		'social_menu_enable'			=> (bool) true,
		'topbar_btn_title'				=> esc_html__( 'Apply', 'enlightme' ),
		'topbar_btn_url'				=> esc_html__( '#', 'enlightme' ),
		'topbar_field_1'				=> esc_html__( ' 123 456 7891', 'enlightme' ),
		'topbar_field_2'				=> esc_html__( 'info@enlightme.com', 'enlightme' ),

		// slider
		'slider_section_enable'			=> (bool) false,
		'slider_sub_title'				=> esc_html__( 'Start Learning Now', 'enlightme' ),
		'slider_btn_label'				=> esc_html__( 'Find your course', 'enlightme' ),

		//service 
		'service_section_enable'		=> (bool) false,
		'service_title'					=> esc_html__( 'Learn From People Around you', 'enlightme' ),
		'service_sub_title'				=> esc_html__( 'Get Started!', 'enlightme' ),
		'service_description'			=> esc_html__( 'While college tuition more than tripled over the past 30 years, the value of a college degree gradually fell due to credential inflation. As more people get degrees, what used to be a unique achievement becomes trivial.', 'enlightme' ),
		'service_btn'					=> esc_html__( 'Read More', 'enlightme' ),

		//about 
		'about_section_enable'		=> (bool) false,
		'about_sub_title'			=> esc_html__( 'About Us', 'enlightme' ),
		'about_btn_text'			=> esc_html__( 'I Want TO Learn More', 'enlightme' ),
		'about_video_intro_text'	=> esc_html__( 'Watch intro video about our system:', 'enlightme' ),
		'about_video_sub_intro_text'=> esc_html__( 'We are here to create a history!!', 'enlightme' ),

		// subscription
		'subscription_section_enable'	=> (bool) false,
		'subscription_title'			=> esc_html__( 'Get 20% off in Your First Course', 'enlightme' ),
		'subscription_description'		=> esc_html__( 'Enter your email address below to receive your discount code. Your email address', 'enlightme' ),
		'subscription_btn_title'		=> esc_html__( 'Subscribe Now', 'enlightme' ),

		// blog
		'blog_section_enable'			=> (bool) false,
		'blog_content_type'				=> 'category',
		'blog_title'					=> esc_html__( 'Know What’s Going on Around Us', 'enlightme' ),
		'blog_sub_title'				=> esc_html__( 'Latest Articles', 'enlightme' ),
		'blog_btn_title'				=> esc_html__( 'View All Articles', 'enlightme' ),

		//team 
		'team_section_enable'					=> (bool) false,
		'team_content_type'						=> 'page',
		'team_title'							=> esc_html__( 'Our Team Members', 'enlightme' ),
		'team_sub_title'						=> esc_html__( 'We Are Family', 'enlightme' ),	
		'team_button'							=> esc_html__( 'View Detail', 'enlightme' ),

		//featured
		'featured_section_enable'		=> (bool) false,
		'featured_btn_title'			=> esc_html__( 'More Our Features', 'enlightme' ),

		// client
		'client_section_enable'			=> (bool) false,
		'client_title'					=> esc_html__( 'Many peope use Enlightme to enrich their brand & business.', 'enlightme' ),

		//footer
		'footer_btn_title'				=> esc_html__( 'Explore a free course', 'enlightme' ),

		);

$output = apply_filters( 'enlightme_default_theme_options', $enlightme_default_options );

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

return $output;
}