<?php
/**
 * Default Values.
 *
 * @package NewsNation
 */
if (!function_exists('newsnation_get_default_theme_options')) :
    /**
     * Get default theme options
     *
     * @return array Default theme options.
     * @since 1.0.0
     *
     */
    function newsnation_get_default_theme_options()
    {
        $newsnation_defaults = array();
        $newsnation_defaults['wpi_newsnation_home_sections_2'] = array(
            array(
                'home_section_type' => 'default-banner-area',
                'section_ed' => 'yes',
                'section_post_cat_1' => '',
                'ed_arrows_carousel' => 'yes',
                'ed_dots_carousel' => 'no',
                'section_category_3' => '',
                'section_category_7' => '',
                'section_post_offset' => 0,
                'section_post_offset_1' => 0,
            ),
            array(
                'home_section_type' => 'banner-blocks-1',
                'section_ed' => 'yes',
                'tab_section_title' => esc_html__('Tab Section Title', 'newsnation'),
                'section_category_1' => '',
                'section_category_2' => '',
                'ed_tab' => 'no',
                'ed_dots_carousel' => 'no',
                'ed_autoplay_carousel' => 'yes',
                'section_post_offset' => 0,
                'section_post_offset_1' => 0,
            ),
            array(
                'home_section_type' => 'tiles-blocks',
                'section_ed' => 'no',
                'section_category_tile_slider' => '',
                'home_section_title' => esc_html__('Slide Block', 'newsnation'),
                'home_section_title_2' => esc_html__('List Block', 'newsnation'),
                'section_category' => '',
                'ed_arrows_carousel' => 'yes',
                'section_post_offset' => 0,
                'section_view_more_title' => esc_html__('View More', 'newsnation'),
            ),
            array(
                'home_section_type' => 'video-slider',
                'section_ed' => 'no',
                'home_section_title_video' => esc_html__('Video News Block', 'newsnation'),
                'section_post_cat_1' => '',
                'section_post_number' => 12,
                'section_view_more_title' => esc_html__('View More', 'newsnation'),
            ),
            array(
                'home_section_type' => 'must-read',
                'section_ed' => 'yes',
                'home_section_must_read' => esc_html__('Must Read', 'newsnation'),
                'section_category_5' => '',
                'section_post_offset' => 0,
                'section_view_more_title' => esc_html__('View More', 'newsnation'),
            ),
            array(
                'home_section_type' => 'latest-posts-blocks',
                'section_ed' => 'yes',
            ),
            array(
                'home_section_type' => 'advertise-blocks',
                'section_ed' => 'no',
                'advertise_image' => '',
                'advertise_link' => '',
            ),
            array(
                'home_section_type' => 'home-widget-area',
                'section_ed' => 'yes',
            ),
            array(
                'home_section_type' => 'you-may-like-blocks',
                'section_ed' => 'yes',
                'home_section_title' => esc_html__('You May Also Like', 'newsnation'),
                'section_category' => '',
                'section_post_offset' => 0,
                'section_view_more_title' => esc_html__('View More', 'newsnation'),
            ),
        );
        // header section
        $newsnation_defaults['logo_width_range'] = 300;
        $newsnation_defaults['site_title_font_size'] = 82;
        $newsnation_defaults['site_title_add_layout'] = 'default-layout';
        // Options.
        $newsnation_defaults['global_sidebar_layout'] = 'right-sidebar';
        $newsnation_defaults['newsnation_archive_layout'] = 'full';
        $newsnation_defaults['newsnation_pagination_layout'] = 'numeric';
        $newsnation_defaults['footer_column_layout'] = 3;
        $newsnation_defaults['footer_copyright_text'] = esc_html__('All rights reserved.', 'newsnation');
        $newsnation_defaults['ed_header_subscription_news'] = 0;
        $newsnation_defaults['ed_header_subscription_button_text'] = esc_html__('Subscribe Now', 'newsnation');
        $newsnation_defaults['ed_header_subscription_posts_title'] = esc_html__('Join Our Membership', 'newsnation');
        $newsnation_defaults['ed_header_ad'] = 0;
        $newsnation_defaults['ed_header_type'] = 'wpi-img-boxed-header';
        $newsnation_defaults['addvertisement_section_title'] = esc_html__('Advertisement Section', 'newsnation');
        $newsnation_defaults['ed_header_ticker_posts'] = 1;
        $newsnation_defaults['ticker_date_format'] = 'l, F jS, Y';
        $newsnation_defaults['ed_header_ticker_posts_title'] = esc_html__('Breaking News', 'newsnation');
        $newsnation_defaults['ed_image_content_inverse'] = 0;
        $newsnation_defaults['ed_related_post'] = 1;
        $newsnation_defaults['related_post_title'] = esc_html__('More Stories', 'newsnation');
        $newsnation_defaults['wpi_navigation_type'] = 'norma-navigation';
        $newsnation_defaults['newsnation_single_post_layout'] = 'layout-1';
        $newsnation_defaults['ed_post_thumbnail'] = 0;
        $newsnation_defaults['ed_post_date'] = 1;
        $newsnation_defaults['ed_post_author'] = 1;
        $newsnation_defaults['ed_post_category'] = 1;
        $newsnation_defaults['ed_header_overlay'] = 0;
        $newsnation_defaults['ed_floating_next_previous_nav'] = 1;
        $newsnation_defaults['newsnation_header_bg_size'] = 2;
        $newsnation_defaults['ed_header_bg_fixed'] = 0;
        $newsnation_defaults['ed_header_bg_overlay'] = 1;
        $newsnation_defaults['post_date_format'] = 'default';
        $newsnation_defaults['ed_fullwidth_layout'] = 'default';
        $newsnation_defaults['ed_scroll_top_button'] = 1;
        $newsnation_defaults['ed_tags_wide_layout'] = 1;
        $newsnation_defaults['ed_post_tags'] = 1;
        $newsnation_defaults['ed_ticker_bar_social_nav'] = 1;
        // Pass through filter.
        $newsnation_defaults = apply_filters('newsnation_filter_default_theme_options', $newsnation_defaults);
        return $newsnation_defaults;
    }
endif;
