![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/hessa.corals.io/wp-content/themes/kicker/ |
<?php /** * The Front Page template file. * * @package KICKER * @since KICKER 1.0.31 */ get_header(); // If front-page is a static page if ( get_option( 'show_on_front' ) == 'page' ) { // If Front Page Builder is enabled - display sections if ( kicker_is_on( kicker_get_theme_option( 'front_page_enabled', false ) ) ) { if ( have_posts() ) { the_post(); } $kicker_sections = kicker_array_get_keys_by_value( kicker_get_theme_option( 'front_page_sections' ) ); if ( is_array( $kicker_sections ) ) { foreach ( $kicker_sections as $kicker_section ) { get_template_part( apply_filters( 'kicker_filter_get_template_part', 'front-page/section', $kicker_section ), $kicker_section ); } } // Else if this page is a blog archive } elseif ( is_page_template( 'blog.php' ) ) { get_template_part( apply_filters( 'kicker_filter_get_template_part', 'blog' ) ); // Else - display a native page content } else { get_template_part( apply_filters( 'kicker_filter_get_template_part', 'page' ) ); } // Else get the template 'index.php' to show posts } else { get_template_part( apply_filters( 'kicker_filter_get_template_part', 'index' ) ); } get_footer();