| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.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 : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/blueversionx/wp-content/themes/stargaze/ |
Upload File : |
<?php
/**
* The Front Page template file.
*
* @package STARGAZE
* @since STARGAZE 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 ( stargaze_is_on( stargaze_get_theme_option( 'front_page_enabled', false ) ) ) {
if ( have_posts() ) {
the_post();
}
$stargaze_sections = stargaze_array_get_keys_by_value( stargaze_get_theme_option( 'front_page_sections' ) );
if ( is_array( $stargaze_sections ) ) {
foreach ( $stargaze_sections as $stargaze_section ) {
get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'front-page/section', $stargaze_section ), $stargaze_section );
}
}
// Else if this page is a blog archive
} elseif ( is_page_template( 'blog.php' ) ) {
get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'blog' ) );
// Else - display a native page content
} else {
get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'page' ) );
}
// Else get the template 'index.php' to show posts
} else {
get_template_part( apply_filters( 'stargaze_filter_get_template_part', 'index' ) );
}
get_footer();