<?php
/* 
* Theme: PREMIUMPRESS CORE FRAMEWORK FILE
* Url: www.premiumpress.com
* Author: Mark Fail1
*
* THIS FILE WILL BE UPDATED WITH EVERY UPDATE
* IF YOU WANT TO MODIFY THIS FILE, CREATE A CHILD THEME
*
* http://codex.wordpress.org/Child_Themes
*/
if (!defined('THEME_VERSION')) {	header('HTTP/1.0 403 Forbidden'); exit; }

global $CORE, $settings, $userdata; 
 
get_header($CORE->pageswitch()); ?>
<section>
      <?php  
	  
        $settings = array(
         
         // IMAGES
         "img1" 			=> $CORE->homeCotent('hero', 'img1'),
         	 
         // TEXT
         "img1_txt1" 		=> $CORE->homeCotent('hero', 'txt1'),	
         "img1_txt2" 		=> $CORE->homeCotent('hero', 'txt2'),
          
		  
		 // BTN
         "img1_btntxt" 		=> $CORE->homeCotent('hero', 'btntxt'),	
         "img1_btnlink" 	=> $CORE->homeCotent('hero', 'btnlink'), 
		  
		  "class" => "text-light"
         );
               
         // CODE
         get_template_part('framework/elementor/_hero/hero-31');
          
         ?>
</section>


<section class="bg-white py-5 border-bottom">
    <div class="container ">
    

    
    
    
    
       <div class="col-md-12 mb-5 pl-lg-0">
               <?php
                  $settings = array(
                              
                          // TEXT
                          "txt1" 		=> $CORE->homeCotent('ctitle1', 'txt1'),
                          "txt2" 		=> $CORE->homeCotent('ctitle1', 'txt2'),	
                          "class"		=> "text-center",	 
                    );
                  
                  get_template_part('framework/elementor/_ctitle/ctitle-3'); 
                  
                  
                  ?>
            </div>     
 
    
    <?php 
    $settings = array('show' => 16, 'offset' => 0, 'class' => 'mt-4', 'item_class' => 'bg-light');
    get_template_part('framework/elementor/_ccats/ccat-4'); 
    ?>
    </div>
</section>
<section class="py-5 bg-light border-bottom">
<div class="container">
      <div class="col-md-12 mb-3">
               <?php
                  $settings = array(
                              
                          // TEXT
                          "txt1" 		=> $CORE->homeCotent('ctitle2', 'txt1'),
                          "txt2" 		=> $CORE->homeCotent('ctitle2', 'txt2'),	
                          "class"		=> "text-center mb-5",	 
                    );
                  
                  get_template_part('framework/elementor/_ctitle/ctitle-3'); 
                  
                  
                  ?>
 </div>
 
 <div class="col-12">
 <div class="row wlt_search_results">
 
 <?php echo str_replace("","",do_shortcode('[LISTINGS dataonly=1 show=12 custom="new" nav=0 small=1 ]')); ?> 

 </div>
 </div>
 
 
 <div class="col-12">
 <div class="text-center py-3">
 
 <a href="<?php echo home_url(); ?>/?s=" class="btn btn-primary btn-lg px-5 shadow"><?php echo __("View More","premiumpress") ?></a>
 
 </div>
 </div>
 
</div>
</section> 

<section class="py-5 bg-white">
<div class="container">
<?php 
 $settings = array();
get_template_part('framework/elementor/_blog/blog3'); 
?>
</div>
</section> 
 
<?php get_footer($CORE->pageswitch()); ?>