HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //home/bristolfilton.co.uk/public_html/wp-content/themes/capacious/front-page.php
<?php
/**
 * The template for displaying all pages.
 *
 * 
 * @package capacious
 */

get_header(); 
  
   $section_option = capacious_get_option( 'capacious_homepage_hide_front_page_option');
  
     if(!is_home() ){
               do_action( 'home_page_section' ); 
        }
          
        if ( 'posts' == get_option( 'show_on_front' ) ) {
            include( get_home_template() );
        }
        else {
              if( 'hide'!= $section_option ){
                include( get_page_template());
              }  
            }

get_footer();