| Server IP : 3.93.235.159 / Your IP : 216.73.216.140 Web Server : Apache System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64 User : bitnami ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/themes/school-zone/ |
Upload File : |
<?php
/**
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package School_Zone
*/
$enabled_sections = school_zone_get_sections();
if( 'posts' == get_option( 'show_on_front' ) ){
include( get_home_template() );
}elseif( $enabled_sections ){
get_header();
foreach( $enabled_sections as $section ){ ?>
<section class="<?php echo esc_attr( $section['class'] ); ?>" id="<?php echo esc_attr( $section['id'] ); ?>">
<?php get_template_part( 'sections/section', esc_attr( $section['id'] ) ); ?>
</section>
<?php
}
get_footer();
}else{
include( get_page_template() );
}