<?php
/**
 * Default theme options.
 *
 * @package Party Planner Bell
 */


if ( ! function_exists( 'party_planner_bell_get_default_theme_options' ) ) :

	/**
	 * Get default theme options.
	 *
	 * @since 1.0.0
	 *
	 * @return array Default theme options.
	 */
	
	function party_planner_bell_get_default_theme_options() {

		$theme_data = wp_get_theme();
		$defaults = array();

		$defaults['show_header_contact_info'] 	= true;
		$defaults['disable_homepage_content_section'] 			= false;
		$defaults['show_topbar'] 			= false;
		$defaults['topbar_layout_option'] 			= 'contact-info-option';
	    $defaults['header_email']             	= __( 'info@sensationaltheme.com','party-planner-bell' );
	    $defaults['header_phone' ]            	= __( '+1-541-754-3010','party-planner-bell' );
	    $defaults['header_location' ]           = __( 'London, UK','party-planner-bell' );
	    $defaults['enable_header_contact_info'] 	= true;
	    $defaults['header_email_text']             	= __( 'Email ID','party-planner-bell' );
	    $defaults['header_phone_text' ]            	= __( 'Free Call','party-planner-bell' );
	    $defaults['header_location_text' ]           = __( 'Visit Us','party-planner-bell' );
	    $defaults['header_email_address']             	= __( 'info@sensationaltheme.com','party-planner-bell' );
	    $defaults['header_phone_contact' ]            	= __( '+1-541-754-3010','party-planner-bell' );
	    $defaults['header_location_address' ]           = __( 'London, UK','party-planner-bell' );
	    $defaults['show_header_social_links'] 	= true;
	    $defaults['show_menu_social_links'] 	= true;
	    $defaults['header_social_links']		= array();
	    $defaults['disable_header_background_section'] = false;
	    $defaults['show_header_search'] 	= true;
	    $defaults['show_current_date'] 	= true;
	    $defaults['top_login_text'] 	= __( 'Login','party-planner-bell' );
	    $defaults['top_login_url'] 	='#';
	    $defaults['top_register_text'] 	= __( 'Register','party-planner-bell' );
	    $defaults['top_register_url'] 	= '#';
	    $defaults['search_login_layout'] 	= 'login-option';
	    $defaults['colorscheme_hue'] 	= '#8FB1A6';
	    $defaults['medi_text_color'] 	= '#191B1D';
	    $defaults['medi_secondary_color'] 	= '#14457B';
	    $defaults['topbar_background_color'] 	= '#8FB1A6';
	    $defaults['enable_center_logo'] 	= false;
	    $defaults['topbar_color'] 	= '#ffffff';


	    $defaults['menu_background_color'] 	= '#fff';
	    $defaults['menu_text_hover'] 	= 'menu-hover-none';
	    $defaults['header_text_hover'] 	= 'title-hover-none';
	    $defaults['number_of_menu_items'] 	= 6;
	    $defaults['preloader_loader_enable'] 	= false;
	    $defaults['preloader_loader_options'] 	= 'loader-2';
	    $defaults['header_text_transform_options'] 	= 'none';
	    $defaults['header_text_decoration_options'] 	= 'none';
	    $defaults['header_font_style_options'] 	= 'none';
	    $defaults['header_text_design'] 	= false;
	    $defaults['homepage_layout_options']			= 'lite-layout';
	    $defaults['header_layout_options']			= 'header-nine';
	    $defaults['homepage_design_layout_options']			= 'home-corporate';
	    $defaults['homepage_sidebar_position']			= 'home-right-sidebar';
	    $defaults['header_top_buttom_padding']			= 10;

		// Featured Slider Section
		$defaults['disable_featured-slider_section']	= true;
		$defaults['number_of_sr_items']			= 4;
		$defaults['number_of_sr_column']		= 1;
		$defaults['slider_layout_option']			= 'fullwidth-slider';
		$defaults['slider_content_position_option']			= 'default-position';
		$defaults['sr_content_type']			= 'sr_category';
		$defaults['slider_speed']				= 800;
		$defaults['disable_white_overlay']		= false;
		$defaults['slider_arrow_enable']		= true;
		$defaults['slider_fade_enable']		 	= true;
		$defaults['slider_autoplay_enable']		= true;
		$defaults['slider_infinite_enable']		= true;
		$defaults['slider_title_enable']		= true;
		$defaults['slider_category_enable']		= true;
		$defaults['slider_content_enable']		= false;
		$defaults['slider_posted_on_enable']		= false;
		$defaults['disable_blog_banner_section']		= false;
		$defaults['slider_social_title_text']	   		= esc_html__( 'Follow Me:', 'party-planner-bell' );

		//Cta Section	
		$defaults['disable_message_section']	   	= true;
		$defaults['message_title']	   	= esc_html__( 'Hello. Our wedding agency has been present for over 20 years in the market.', 'party-planner-bell' );
		$defaults['message_subtitle']	   	= esc_html__( 'About Us', 'party-planner-bell' );
		$defaults['message_description']	   	= esc_html__( 'I’ve been working with a company this month doing blogger outreach for a project. Part of my job is to vet blogs and determine their audience, their traffic, and whether they’re a good fit for this particular project. Having spent several hours reviewing blogs in several markets, I’ve come to a conclusion: We all need to work on our About pages.', 'party-planner-bell' );
		$defaults['message_button_label']	   	 	= esc_html__( 'Know More', 'party-planner-bell' );
		$defaults['message_button_url']	   	 		= '#';
		$defaults['message_content_type']			= 'message_custom';
		$defaults['message_background_color']	   	= '#fff';
		$defaults['message_content_enable']			= true;
		$defaults['message_excerpt_enable']			= true;
		$defaults['message_excerpt_length']			= 50;
		$defaults['disable_about_counter_section']	= true;
		$defaults['number_of_about_counter_items']	= 3;
		$defaults['about_counter_value_1']	   	= esc_html__( '105', 'party-planner-bell' );
		$defaults['about_counter_value_2']	   	= esc_html__( '224', 'party-planner-bell' );
		$defaults['about_counter_value_3']	   	= esc_html__( '15', 'party-planner-bell' );
		$defaults['about_counter_value_4']	   	= esc_html__( '70', 'party-planner-bell' );
		$defaults['about_counter_text_1']	   	= esc_html__( 'Weddings', 'party-planner-bell' );
		$defaults['about_counter_text_2']	   	= esc_html__( 'Ceremonies', 'party-planner-bell' );
		$defaults['about_counter_text_3']	   	= esc_html__( 'Branches', 'party-planner-bell' );
		$defaults['about_counter_text_4']	   	= esc_html__( 'Branches', 'party-planner-bell' );

		//Must Read Section
		$defaults['disable_mustread_section']	= true;
		$defaults['mustread_title']	   	 		= esc_html__( 'Blog And News', 'party-planner-bell' );
		$defaults['mustread_subtitle']	   	 	= esc_html__( 'Marriages, like a garden, take time to grow. But the harvest is rich unto those who patiently and tenderly care for the ground.', 'party-planner-bell' );
		$defaults['number_of_mustread_items']			= 3;
		$defaults['number_of_mustread_column']			= 3;
		$defaults['mustread_excerpt_length']			= 20;
		$defaults['mustread_content_type']			= 'mustread_category';
		$defaults['mustread_background_color']	   	= '#slider_fade_effect';
		$defaults['mustread_content_align']			= 'content-center';
		$defaults['mustread_background_color']			= '#fff';
		$defaults['mustread_category_enable']		= true;
		$defaults['mustread_posted_on_enable']		= true;
		$defaults['mustread_author_enable']		= true;
		$defaults['mustread_content_enable']		= true;
		$defaults['mustread_see_all_txt']			= esc_html__( 'See All', 'party-planner-bell' );

		// Our Service Section
		$defaults['disable_services_section']	= true;
		$defaults['services_top_title']	   	 		= esc_html__( 'Let Us Handle Everything', 'party-planner-bell' );
		$defaults['services_top_content']	   	 		= esc_html__( 'We understand that planning a Party can be an overwhelming and stressful experience. Thats why we offer a range of Party planning services to help you create the perfect Party day. Our experienced Party planners work with you to ensure that every detail is taken care of, allowing you to relax and enjoy the most important day of your life.', 'party-planner-bell' );
		$defaults['services_btn_text']	   	 		= esc_html__( 'Contact Us', 'party-planner-bell' );
		$defaults['services_btn_url']	   	 		= '#';
		$defaults['services_title']	   	 		= esc_html__( 'Reasons to Choose My Services', 'party-planner-bell' );
		$defaults['services_subtitle']	   		= esc_html__( 'Services', 'party-planner-bell' );
		$defaults['number_of_services_column']	= 3;
		$defaults['number_of_services_items']	= 6;
		$defaults['services_content_type']		= 'services_category';
		$defaults['services_background_color']			= '#fff';
		$defaults['services_content_enable']	= true;
		$defaults['disable_services_icon']		= true;
		$defaults['disable_services_background']		= true;
		$defaults['services_content_align']			= 'content-center';
		$defaults['services_excerpt_length']			= 20;
		$defaults['services_icon_1']	   	= esc_html__( 'fa-snowflake-o', 'party-planner-bell' );
		$defaults['services_icon_2']	   	= esc_html__( 'fa-leaf', 'party-planner-bell' );
		$defaults['services_icon_3']	   	= esc_html__( 'fa-diamond', 'party-planner-bell' );
		$defaults['services_icon_4']	   	= esc_html__( 'fa-cubes', 'party-planner-bell' );
		$defaults['services_icon_5']	   	= esc_html__( 'fa-star', 'party-planner-bell' );
		$defaults['services_icon_6']	   	= esc_html__( 'fa-heart', 'party-planner-bell' );
		$defaults['services_icon_7']	   	= esc_html__( 'fa-cogs', 'party-planner-bell' );
		$defaults['services_icon_8']	   	= esc_html__( 'fa-users', 'party-planner-bell' );
		$defaults['services_icon_9']	   	= esc_html__( 'fa-university', 'party-planner-bell' );
		$defaults['services_icon_10']	   	= esc_html__( 'fa-cogs', 'party-planner-bell' );
		$defaults['services_icon_11']	   	= esc_html__( 'fa-users', 'party-planner-bell' );
		$defaults['services_icon_12']	   	= esc_html__( 'fa-university', 'party-planner-bell' );


		// Shop product Section
		$defaults['disable_shopproduct_section']	= true;
		$defaults['shopproduct_title']	   	 		= esc_html__( 'Product', 'party-planner-bell' );
		$defaults['shopproduct_subtitle']	   	 	= esc_html__( 'Marriages, like a garden, take time to grow. But the harvest is rich unto those who patiently and tenderly care for the ground.', 'party-planner-bell' );
		$defaults['number_of_shopproduct_items']	= 5;
		$defaults['shopproduct_content_type']		= 'shopproduct-post';
		$defaults['shopproduct_background_color']	   	= '#fff';

		// Features Section
		$defaults['disable_features_section']	= true;
		$defaults['features_title']	   	 		= esc_html__( 'Plan Upgrades', 'party-planner-bell' );
		$defaults['features_background_color']	   	= '#fff';
		$defaults['features_subtitle']	   	 	= esc_html__( 'Marriages, like a garden, take time to grow. But the harvest is rich unto those who patiently and tenderly care for the ground.', 'party-planner-bell' );
		$defaults['number_of_features_items']	= 6;
		$defaults['features_content_type']		= 'features_page';
		$defaults['features_button_label']	   	 		= esc_html__( 'Book Now', 'party-planner-bell' );
		$defaults['features_excerpt_length']			= 10;

		// Team Section
		$defaults['disable_team_section']	= true;
		$defaults['team_title']	   	 		= esc_html__( 'Our Team', 'party-planner-bell' );
		$defaults['team_subtitle']	   	 	= esc_html__( 'Marriages, like a garden, take time to grow. But the harvest is rich unto those who patiently and tenderly care for the ground.', 'party-planner-bell' );
		$defaults['team_background_color']	   	= '#fff';
		$defaults['number_of_team_column']		= 4;
		$defaults['number_of_team_items']			= 8;
		$defaults['team_content_type']			= 'team_category';
		$defaults['team_content_enable']				= true;


		// Catering Section
		$defaults['disable_catering_section']	= true;
		$defaults['catering_title']	   	 		= esc_html__( 'Our Wedding Catering Best Services', 'party-planner-bell' );
		$defaults['catering_subtitle']	   	 	= esc_html__( 'Marriages, like a garden, take time to grow. But the harvest is rich unto those who patiently and tenderly care for the ground.', 'party-planner-bell' );
		$defaults['catering_background_color']	   	= '#fff';
		$defaults['number_of_column']		= 2;
		$defaults['number_of_items']			= 8;
		$defaults['catering_content_type']			= 'catering_category';
		$defaults['catering_content_enable']				= true;

		// Gallery Section
		$defaults['disable_gallery_section']	= true;
		$defaults['number_of_items']			= 8;
		$defaults['gallery_content_type']			= 'gallery_category';


		// Testimonial Section
		$defaults['disable_testimonial_section']	= true;
		$defaults['number_of_testimonial_items']			= 4;
		$defaults['testimonial_excerpt_length']			= 30;
		$defaults['testimonial_layout_option']			= 'default-testimonial';
		$defaults['testimonial_content_type']			= 'testimonial_category';
		$defaults['testimonial_title']	   	 		= esc_html__( 'Our clients reviews.', 'party-planner-bell' );
		$defaults['testimonial_viewall_text']	   	 		= esc_html__( 'View All Projects', 'party-planner-bell' );
		$defaults['testimonial_subtitle']	   	 	= esc_html__( 'Testimonials', 'party-planner-bell' );
		$defaults['testimonial_category_enable']		= true;
		$defaults['testimonial_posted_on_enable']		= true;
		$defaults['testimonial_arrow_enable']		= true;
		$defaults['testimonial_dots_enable']		= true;
		$defaults['testimonial_content_enable']		= true;

		//Pricing Section	
		$defaults['disable_pricing_section']	   	= true;
		$defaults['pricing_title']	   				= esc_html__( 'Pricing', 'party-planner-bell' );
		$defaults['pricing_sub_title']	   	 		= esc_html__( 'A cultural icon is a person or artifact that is recognized by members of a culture or sub-culture as representing.', 'party-planner-bell' );
		$defaults['pricing_count']					= 3;

		//Video Section	
		$defaults['disable_video_section']	= true;

		//contact Section	
		$defaults['contact_title']	   	 		= esc_html__( 'Get in touch with us!', 'party-planner-bell' );
		$defaults['contact_subtitle']	   	 	= esc_html__( 'A cultural icon is a person or artifact that is recognized by members of a culture or sub-culture as representing. A cultural icon is a person or artifact that is recognized by members of a culture or sub-culture as representing.', 'party-planner-bell' );
		$defaults['disable_contact_section']	= true;
		$defaults['background_contact_section']		= get_template_directory_uri() .'/assets/images/default-header.jpg';
		$defaults['contact_address_text']	   	 		= esc_html__( 'Address: ', 'party-planner-bell' );
		$defaults['contact_address_value']	   	 		= esc_html__( 'A1955 Russell Street Dracut', 'party-planner-bell' );
		$defaults['contact_phone_text']	   	 		= esc_html__( 'Contact: ', 'party-planner-bell' );
		$defaults['contact_phone_value']	   	 		= esc_html__( '+1-541-754-3010', 'party-planner-bell' );
		$defaults['contact_email_text']	   	 		= esc_html__( 'Email Id: ', 'party-planner-bell' );
		$defaults['contact_email_value']	   	 		= esc_html__( 'info@sensationaltheme.com', 'party-planner-bell' );


		// Latest Posts Section
		$defaults['latest_posts_title']	   	 	= esc_html__( 'My Latest Stories', 'party-planner-bell' );
		$defaults['latest_section_posts_title']	   	 	= esc_html__( 'I love natural beauty, and I think it’s your best look, but I think makeup as an artist is so transformative.', 'party-planner-bell' );
		$defaults['number_of_latest_posts_column']	= 1;
		$defaults['pagination_type']		= 'numeric';
		$defaults['latest_category_enable']		= true;
		$defaults['latest_author_enable']		= true;
		$defaults['latest_comment_enable']		= true;
		$defaults['latest_read_more_text_enable']		= true;
		$defaults['latest_posted_on_enable']		= true;
		$defaults['latest_video_enable']		= true;
		$defaults['blog_layout_content_type']		= 'blog-four';
		$defaults['archive_content_align']		= 'content-center';
		$defaults['archive_post_header_title_enable']		= true;
		$defaults['archive_post_header_image_enable']		= true;
		$defaults['blog_post_header_image_enable']		= true;
		$defaults['blog_post_header_title_enable']		= true;
		$defaults['background_image_enable']		= false;
		
		// Decoration Option
		$defaults['decoration_side_enable']		= true;

		// Single Post Option
		$defaults['single_post_category_enable']		= true;
		$defaults['single_post_posted_on_enable']		= true;
		$defaults['single_post_video_enable']		= true;
		$defaults['single_post_comment_enable']		= true;
		$defaults['single_post_author_enable']		= true;
		$defaults['single_post_pagination_enable']		= true;
		$defaults['single_post_image_enable']		= true;
		$defaults['single_post_header_image_enable']		= true;
		$defaults['single_post_header_title_enable']		= true;
		$defaults['single_post_header_image_as_header_image_enable']		= true;


		// Single Post Option
		$defaults['single_page_video_enable']		= true;
		$defaults['single_page_image_enable']		= true;
		$defaults['single_page_header_image_enable']		= true;
		$defaults['single_page_header_title_enable']		= true;
		$defaults['single_page_header_image_as_header_image_enable']		= true;
		
		$defaults['theme_typography']			=  'default';
		$defaults['body_theme_typography']		=  'default';		
		$defaults['archive_typography']			=  'default';
		$defaults['body_archive_typography']		=  'default';		
		$defaults['page_typography']			=  'default';
		$defaults['body_page_typography']		=  'default';		
		$defaults['post_typography']			=  'default';
		$defaults['body_post_typography']		=  'default';		
		$defaults['site_title_typography']			=  'default';
		$defaults['site_tagline_typography']		=  'default';

		// Curve Option
		$defaults['corporate_curve_shape_enable']		= true;

		//General Section
		$defaults['latest_readmore_text']				= esc_html__('Read More','party-planner-bell');
		$defaults['excerpt_length']				= 50;
		$defaults['layout_options_blog']			= 'right-sidebar';
		$defaults['layout_options_archive']			= 'right-sidebar';
		$defaults['layout_options_page']			= 'right-sidebar';	
		$defaults['layout_options_single']			= 'right-sidebar';	

		//Footer section 
		$defaults['scroll_top_visible']		= true;		
		$defaults['copyright_text']				= esc_html__( 'Copyright &copy; All rights reserved.', 'party-planner-bell' );
		$defaults['powered_by_text']			= esc_html__( 'Party Planner Bell by Sensational Theme', 'party-planner-bell' );
		$defaults['enable_footer_background_image'] 	= true;
		$defaults['footer_copyright_font_color'] 	= '#fff';
		$defaults['footer_copyright_background_color'] 	= '#8FB1A6';
		$defaults['footer_background_image']		= get_template_directory_uri() .'/assets/images/default-header.jpg';

		// Pass through filter.
		$defaults = apply_filters( 'party_planner_bell_filter_default_theme_options', $defaults );
		return $defaults;
	}

endif;


/**
*  Get theme options
*/
if ( ! function_exists( 'party_planner_bell_get_option' ) ) :

	/**
	 * Get theme option
	 *
	 * @since 1.0.0
	 *
	 * @param string $key Option key.
	 * @return mixed Option value.
	 */
	function party_planner_bell_get_option( $key ) {

			$default_options = party_planner_bell_get_default_theme_options();
		
		if ( empty( $key ) ) {
			return;
		}

		$theme_options = (array)get_theme_mod( 'theme_options' );
		$theme_options = wp_parse_args( $theme_options, $default_options );

		$value = null;

		if ( isset( $theme_options[ $key ] ) ) {
			$value = $theme_options[ $key ];
		}

		return $value;

	}

endif;