HEX
Server: Apache
System: Linux webm009.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: ateliug (129934)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/ateliug/www/wp-content/themes/perfect-portfolio/front-page.php
<?php
/**
 * Front Page
 * 
 * @package Perfect_Portfolio
 */

$home_sections = perfect_portfolio_get_home_sections();

if ( 'posts' == get_option( 'show_on_front' ) ) { //Show Static Blog Page    
    include( get_home_template() );
}elseif( $home_sections ){ 
        get_header();    
    //If any one section are enabled then show custom home page.    
    foreach( $home_sections as $section ){
        get_template_part( 'sections/' . esc_attr( $section ) );  
    }    
    get_footer();
}else {
    //If all section are disabled then show respective page template. 
    include( get_page_template() );
}