<?php
    
function sparkconstructionlite_starter_content_setup(){

    add_theme_support( 'starter-content', array(
        // 'attachments' => array(
        //     'featured-image-home' => array(
        //         'post_title'   => __( 'Featured Image Homepage', 'spark-construction-lite' ),
        //         'post_content' => __( 'Featured Image Homepage', 'spark-construction-lite' ),
        //         'file'         => 'assets/default/contact.jpg',
        //     ),
        //     'featured-slide1'     => array(
        //         'post_title' => 'First slide',
        //         'file'       => 'assets/default/slider1.jpg',
        //     ),
        //     'featured-slide2'     => array(
        //         'post_title' => 'Second slide',
        //         'file'       => 'assets/default/slider2.jpg',
        //     ),
        //     'featured-slide2'     => array(
        //         'post_title' => 'Third slide',
        //         'file'       => 'assets/default/slider3.jpg',
        //     ),
        //     'post-1'              => array(
        //         'post_title' => 'Landscape',
        //         'file'       => 'assets/default/default1.jpg',
        //     )
        // ),

        'posts' => array(
            'home'    => require __DIR__ . '/home.php',
            'contact' => require __DIR__ . '/contact.php',
            'services' => require __DIR__ . '/service.php',
            'about' => require __DIR__ . '/about.php',
            'news' => require __DIR__ . '/news.php',
        //     'custom_post_1'    => array(
        //         'post_type'    => 'post',
        //         'post_title'   => 'Appearance guide',
        //         'post_content' => '<!-- wp:paragraph -->
        //         <p>Yet bed any for travelling assistance indulgence unpleasing. Not thoughts all exercise blessing. Indulgence way everything joy alteration boisterous the attachment. Party we years to order allow asked of. We so opinion friends me message as delight. Whole front do of plate heard oh ought. His defective nor convinced residence own. Connection has put impossible own apartments boisterous. At jointure ladyship an insisted so humanity he. Friendly bachelor entrance to on by.</p>
        //         <!-- /wp:paragraph -->
                
        //         <!-- wp:paragraph -->
        //         <p>That last is no more than a foot high, and about seven paces across, a mere flat top of a grey rock which smokes like a hot cinder after a shower, and where no man would care to venture a naked sole before sunset. On the Little Isabel an old ragged palm, with a thick bulging trunk rough with spines, a very witch amongst palm trees, rustles a dismal bunch of dead leaves above the<a href="#"> coarse sand</a>.</p>
        //         <!-- /wp:paragraph -->',
        //         'thumbnail'    => '{{post-1}}',
        //     ),
        //     'custom_post_2'    => array(
        //         'post_type'    => 'post',
        //         'post_title'   => 'Perfectly on furniture',
        //         'post_content' => '<!-- wp:heading {"level":3,"className":"title"} -->
        //         <h3 class="title">Feet evil to hold long he open knew an no.</h3>
        //         <!-- /wp:heading -->
                
        //         <!-- wp:paragraph -->
        //         <p>Apartments occasional boisterous as solicitude to introduced. Or fifteen covered we enjoyed demesne is in prepare. In stimulated my everything it literature. Greatly explain attempt perhaps in feeling he. House men taste bed not drawn joy. Through enquire however do equally herself at. Greatly way old may you present improve. Wishing the feeling village him musical.</p>
        //         <!-- /wp:paragraph -->
                
        //         <!-- wp:paragraph -->
        //         <p>Smile spoke total few great had never their too. Amongst moments do in arrived at my replied. Fat weddings servants but man believed prospect. Companions understood is as especially pianoforte connection introduced. Nay newspaper can sportsman are admitting gentleman belonging his.</p>
        //         <!-- /wp:paragraph -->',
        //         'thumbnail'    => '{{post-1}}',
        //     ),
        //     'custom_post_3'    => array(
        //         'post_type'    => 'post',
        //         'post_title'   => 'Fat son how smiling natural',
        //         'post_content' => '<!-- wp:paragraph -->
        //         <p><em>To shewing another demands sentiments. Marianne property cheerful informed at striking at. Clothes parlors however by cottage on. In views it or meant drift to. Be concern parlors settled or do shyness address.&nbsp;</em></p>
        //         <!-- /wp:paragraph -->
                
        //         <!-- wp:heading -->
        //         <h2>He always do do former he highly.</h2>
        //         <!-- /wp:heading -->
                
        //         <!-- wp:paragraph -->
        //         <p>Continual so distrusts pronounce by unwilling listening</p>
        //         <!-- /wp:paragraph -->
                
        //         <!-- wp:paragraph -->
        //         <p>Expenses as material breeding insisted building to in. Continual so distrusts pronounce by unwilling listening. Thing do taste on we manor. Him had wound use found hoped. Of distrusts immediate enjoyment curiosity do. Marianne numerous saw thoughts the humoured.</p>
        //         <!-- /wp:paragraph -->',
        //         'thumbnail'    => '{{post-1}}',
        //     ),
        //     'custom_post_4'    => array(
        //         'post_type'    => 'post',
        //         'post_title'   => 'Can curiosity may end shameless explained',
        //         'post_content' => '<!-- wp:heading -->
        //         <h2>Way nor furnished sir procuring therefore but.</h2>
        //         <!-- /wp:heading -->
                
        //         <!-- wp:paragraph -->
        //         <p>Warmth far manner myself active are cannot called. Set her half end girl rich met. Me allowance departure an curiosity ye. In no talking address excited it conduct. Husbands debating replying overcame<em>&nbsp;blessing</em>&nbsp;he it me to domestic.</p>
        //         <!-- /wp:paragraph -->
                
        //         <!-- wp:list -->
        //         <ul><li>As absolute is by amounted repeated entirely ye returned.</li><li>These ready timed enjoy might sir yet one since.</li><li>Years drift never if could forty being no.</li></ul>
        //         <!-- /wp:list -->',
        //         'thumbnail'    => '{{post-1}}',
        //     ),
        //     'custom_post_5'    => array(
        //         'post_type'    => 'post',
        //         'post_title'   => 'Improve him believe opinion offered',
        //         'post_content' => '<!-- wp:paragraph -->
        //         <p>It acceptance thoroughly my advantages everything as. Are projecting inquietude affronting preference saw who. Marry of am do avoid ample as. Old disposal followed she ignorant desirous two has. Called played entire roused though for one too. He into walk roof made tall cold he. Feelings way likewise addition wandered contempt bed indulged.</p>
        //         <!-- /wp:paragraph -->
                
        //         <!-- wp:heading {"level":4} -->
        //         <h4><strong>Still court no small think death so an wrote.</strong></h4>
        //         <!-- /wp:heading -->
                
        //         <!-- wp:paragraph -->
        //         <p>Incommode necessary no it behaviour convinced distrusts an unfeeling he. Could death since do we hoped is in. Exquisite no my attention extensive. The determine conveying moonlight age. Avoid for see marry sorry child. Sitting so totally forbade hundred to.</p>
        //         <!-- /wp:paragraph -->',
        //         'thumbnail'    => '{{post-1}}',
        //     ),
        ),
        
        'options' => array(
            'show_on_front' => 'page',
            'page_on_front' => '{{home}}',
            'page_for_posts' => '{{blog}}',
            // Our Custom
            'blogdescription' => '',
        ),

        'theme_mods'  => array(
            'sparkconstructionlite_enable_frontpage' => false,
            'sparkconstructionlite_primary_color' => apply_filters('sparkconstructionlite_primary_color', '#fd5d16'),
            'sparkconstructionlite_page_sidebar' => 'no',
            /** quick contact info for header */
            'sparkconstructionlite_titlebar_bg_type'  => 'image-bg',
            'sparkconstructionlite_titlebar_bg_image' => get_template_directory_uri() . '/assets/images/slider-img2.webp',
            'sparkconstructionlite_titlebar_overlay_color' => 'rgba(253, 93, 20, 0.64)',
            //'sparkconstructionlite_titlebar_padding'  => '200, 0, 150, 0',
            'sparkconstructionlite_titlebar_bottom_seperator' => 'paper-cut',
            'sparkconstructionlite_titlebar_bs_height_desktop' => 80,
             /** slider settings */
            'sparkconstructionlite_banner_overlay_color' => 'rgba(0,0,0,0.5)',
            'sparkconstructionlite_caption_title_font_size' => 60,
            //'sparkconstructionlite_slider_section_seperator'  => 'bottom',
            //'sparkconstructionlite_slider_bottom_seperator' => 'paper-cut',
            'sparkconstructionlite_slider_type' => 'advance',
            'sparkconstructionlite_slider_advance_settings' => json_encode( array(
                array(
                    'block_image' => get_template_directory_uri() . '/assets/images/slider-img.webp',
                    'block_subtitile' => '',
                    'block_title' => esc_html__('We Construct Your Dream Projects with Trust and Quality', 'spark-construction-lite'),
                    'block_desc' => esc_html__('We are committed to building your projects with honesty and reliability. You can trust us to deliver strong construction using quality materials and skilled workmanship.', 'spark-construction-lite'),
                    'button_text' => esc_html__('WordPress Themes', 'spark-construction-lite'),
                    'button_url' => '#',
                    'button_one_text' => esc_html__('Buy Now', 'spark-construction-lite'),
                    'button_one_url' => '',
                    'alignment' => 'center',
                ),
                array(
                    'block_image' => get_template_directory_uri() . '/assets/images/slider-img2.webp',
                    'block_subtitile' => '',
                    'block_title' => esc_html__('Build Your Future Projects with Us Using Quality Material', 'spark-construction-lite'),
                    'block_desc' => esc_html__('Unlock our premium themes to launch your website. Our all themes are user-friendly and fully customizable, User friendly customer support and regular updates.', 'spark-construction-lite'),
                    'button_text' => esc_html__('Buy Themes', 'spark-construction-lite'),
                    'button_url' => '#',
                    'button_one_text' => esc_html__('Contact Us', 'spark-construction-lite'),
                    'button_one_url' => '',
                    'alignment' => 'center',
                ),
                array(
                    'block_image' => get_template_directory_uri() . '/assets/images/gallery/gallery-img-1.webp',
                    'block_subtitile' => '',
                    'block_title' => esc_html__('Provide Quality Building Materials for a Stronger Future', 'spark-construction-lite'),
                    'block_desc' => esc_html__('End your search here! Unlock Our premium themes to launch your website. Our all themes are fully customizable, friendly Customer Support &amp; regular updates.', 'spark-construction-lite'),
                    'button_text' => esc_html__('Buy Themes', 'spark-construction-lite'),
                    'button_url' => '#',
                    'button_one_text' => esc_html__('WordPress Themes', 'spark-construction-lite'),
                    'button_one_url' => '',
                    'alignment' => 'center',
                ),
            )),
            
        ),

        'nav_menus' => array(
            'primary' => array(
				'name' => esc_html__( 'Primary Menu', 'spark-construction-lite' ),
				'items' => array(
					'page_home',
					'page_about',
					'page_service' => array(
						'type' => 'post_type',
						'object' => 'page',
						'object_id' => '{{services}}',
					),
                    'page_news',
                    'page_contact',
				),
			),
		),
    ));
}
add_action( 'after_setup_theme', 'sparkconstructionlite_starter_content_setup' );