Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 148

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 266

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 274
fg
/home2/cargocap/mrbuilders.pk/wp-content/themes/constructionn/front-page.php
<?php
/**
 * The template for displaying the FrontPage
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Constructionn
 */
$home_sections = apply_filters(
	'constructionn_homepage_sections',
	array( 'banner', 'counter', 'about', 'cta', 'testimonial', 'workingstep', 'contact', 'blog', 'partner' )
);
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/home/' . $section );
	}
	get_footer();
} else {
	// If all section are disabled then show respective page template.
	include get_page_template();
}