<?php
function author_personal_blog_starter_content_setup() {
    
    add_theme_support( 'starter-content', array(
        
        'options' => array(
            'blogname'        => 'Author Personal Blog',
            'blogdescription' => 'WordPress Theme for Author & Writer',
        ),
        
        'theme_mods' => array(
            // Social Links
            'facebook'    => 'facebook.com',
            'twitter'     => 'twitter.com',
            'linkedin'    => 'linkedin.com',
            'instagram'   => 'instagram.com',
            
            // About Section
            'show_about_section' => '1',
            'author_title'       => "Hi,\nMy Name\nJohan Smith",
            'author_subtitle'    => 'New York Times & International Bestselling Author',
            'author_description' => '<p>Welcome to my personal blog. I am a passionate writer and storyteller. Here, I share my journey, thoughts, and tips on writing. Feel free to explore my articles and get in touch!</p>',
            'show_social_icon'   => '1',
            'author_image'       => array(
                'url' => get_template_directory_uri() . '/assets/img/about.jpg',
            ),
            'about_section_background' => array(
                'background-color'      => '#fff0e2',
                'background-image'      => '',
                'background-repeat'     => 'repeat',
                'background-position'   => 'center center',
                'background-size'       => 'cover',
                'background-attachment' => 'scroll',
            ),

            // ==========================================
            // Subscribe Form Section (New Added)
            // ==========================================
            'show_subscribe_form_section' => '1', // ডিফল্টভাবে ফর্মটি দেখাবে
            'subscribe_form_title'        => "Get My Free Book!\nSubscribe to my newsletter.",
            'subscribe_form_book_image'   => array(
                'url' => get_template_directory_uri() . '/assets/img/book.png', // আপনার থিমে এই নামের একটি ডামি বইয়ের ছবি রাখতে পারেন
            ),
            // ডামি HTML ফর্ম যাতে প্লাগিন ছাড়াও ডিজাইন সুন্দর দেখায়
            'form_shortcode'              => '<div class="mc4wp-form-fields"><input type="email" placeholder="Enter your email address" required /> <input type="submit" value="Subscribe" /></div>',

            
            // Subscribe Form Colors (আপনার Kirki ডিফল্ট কালারগুলো)
            'subscribe_form_background'         => '#f4f4ec',
            'subscribe_form_btn_bg'             => '#fb4747',
            'subscribe_form_btn_text_color'     => '#ffffff',
            'subscribe_form_input_bg'           => '#ffffff',
            'subscribe_form_input_text_color'   => '#000000',
        ),

        'nav_menus' => array(
            'main-menu' => array(
                'name' => 'Primary Menu',
                'items' => array(
                    'custom_link_1' => array(
                        'title' => 'About',
                        'url'   => '#',
                    ),
                    'custom_link_2' => array(
                        'title' => 'My Books',
                        'url'   => '#',
                    ),
                    'custom_link_3' => array(
                        'title' => 'Blog',
                        'url'   => '#',
                    ),
                    'custom_link_4' => array(
                        'title' => 'Contact',
                        'url'   => '#',
                    ),
                ),
            ),
        ),
        
    ) );
}
add_action( 'after_setup_theme', 'author_personal_blog_starter_content_setup' );