<?php
/**
 * Template Name: Full Width, No Title (Page Builders)
 * Template Post Type: post, page
 *
 * @package     productive-ecommerce
 * @author      productiveminds.com
 * @copyright   productiveminds.com
 * 
 */

get_header();

while ( have_posts() ) {
    the_post();
?>
    <main class="site-body-container main-container" id="site-content">
    <?php 
        if ( 'post' === get_post_type() ) {
            get_template_part( 'template-parts/part-page-single-post' ); 
        } else {
            $part_page_args = array(
                'is_no_title' => 1,
            );
            get_template_part( 'template-parts/part-page', '', $part_page_args );
        }
    ?>
    </main>  
<?php
}
wp_reset_postdata();

get_footer();
