HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/laretediclo/wp-content/themes/kicker/front-page.php
<?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 blog archive
	} elseif ( is_page_template( 'blog.php' ) ) {
		get_template_part( apply_filters( 'kicker_filter_get_template_part', 'blog' ) );

		// Else - display native page content
	} else {
		get_template_part( apply_filters( 'kicker_filter_get_template_part', 'page' ) );
	}

	// Else get index template to show posts
} else {
	get_template_part( apply_filters( 'kicker_filter_get_template_part', 'index' ) );
}

get_footer();