<?php
/**
 * Starter Content for Blog Over
 * 
 * Provides demo content for fresh WordPress installations when previewing the theme.
 *
 * @package Blog_Over
 */

// Exit if accessed directly
if (!defined('ABSPATH')) {
    exit;
}

/**
 * Get starter content configuration
 *
 * @return array Starter content configuration
 */
function blog_over_get_starter_content()
{
    return array(
        // Create demo pages
        'posts' => array(
            'home' => array(
                'post_type' => 'page',
                'post_title' => _x('Home', 'Theme starter content', 'blog-over'),
            ),
            'about' => array(
                'post_type' => 'page',
                'post_title' => _x('About Us', 'Theme starter content', 'blog-over'),
                'post_content' => _x('Welcome to our blog! This is a starter page that you can customize.', 'Theme starter content', 'blog-over'),
            ),
            'contact' => array(
                'post_type' => 'page',
                'post_title' => _x('Contact', 'Theme starter content', 'blog-over'),
                'post_content' => _x('Get in touch with us through this page.', 'Theme starter content', 'blog-over'),
            ),
            'blog' => array(
                'post_type' => 'page',
                'post_title' => _x('Blog', 'Theme starter content', 'blog-over'),
            ),
        ),

        // Reading settings
        'options' => array(
            'show_on_front' => 'posts',
            'posts_per_page' => 10,
        ),



        // Add sidebar widgets
        'widgets' => array(
            'sidebar-1' => array(
                'search',
                'text_about' => array(
                    'text',
                    array(
                        'title' => _x('About This Site', 'Theme starter content', 'blog-over'),
                        'text' => _x('This is a starter text widget. Replace with your own content.', 'Theme starter content', 'blog-over'),
                    ),
                ),
                'categories',
                'recent-posts',
            ),
        ),

        // Theme customizer defaults
        'theme_mods' => array(
            'blog_over_enable_ticker' => true,
            'blog_over_enable_hero' => true,
            'blog_over_enable_featured_links' => true,
            'blog_over_you_missed_show' => true,
            'blog_over_topbar_show' => true,
            'blog_over_dark_mode_toggle' => true,
            'blog_over_show_search' => true,
            'blog_over_show_subscribe_btn' => true,
            'blog_over_copyright_text' => '© {year} {site}. All rights reserved.',
        ),
    );
}
