Initial commit: Atomaste website

This commit is contained in:
2025-12-10 12:17:30 -05:00
commit 0b9e5d1605
19260 changed files with 5206382 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
/**
* Front Page
*
* @package Rara_Business
*/
$home_sections = rara_business_get_home_sections();
if ( 'posts' == get_option( 'show_on_front' ) ) { //Show Static Blog Page
include( get_home_template() );
}elseif( $home_sections ){
get_header();
//If any one section are enabled then show custom home page.
foreach( $home_sections as $section ){
get_template_part( 'sections/' . esc_attr( $section ) );
}
get_footer();
}else {
//If all section are disabled then show respective page template.
include( get_page_template() );
}