Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The Front Page template file.
*
* @package SPIN
* @since SPIN 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 ( spin_is_on( spin_get_theme_option( 'front_page_enabled', false ) ) ) {
if ( have_posts() ) {
the_post();
}
$spin_sections = spin_array_get_keys_by_value( spin_get_theme_option( 'front_page_sections' ) );
if ( is_array( $spin_sections ) ) {
foreach ( $spin_sections as $spin_section ) {
get_template_part( apply_filters( 'spin_filter_get_template_part', 'front-page/section', $spin_section ), $spin_section );
}
}
// Else if this page is a blog archive
} elseif ( is_page_template( 'blog.php' ) ) {
get_template_part( apply_filters( 'spin_filter_get_template_part', 'blog' ) );
// Else - display a native page content
} else {
get_template_part( apply_filters( 'spin_filter_get_template_part', 'page' ) );
}
// Else get the template 'index.php' to show posts
} else {
get_template_part( apply_filters( 'spin_filter_get_template_part', 'index' ) );
}
get_footer();