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/sections/home/banner.php
<?php
/**
 * Front Banner Section
 *
 * @package constructionn
 */

$banner_toggle        = get_theme_mod( 'banner_toggle', true );
$s_banner_subheading  = get_theme_mod( 'ban_three_subheading', __( 'Architecture', 'constructionn' ) );
$s_banner_heading     = get_theme_mod( 'ban_three_heading', __( 'The Passion For Architecture Never Stops', 'constructionn' ) );
$s_banner_desc        = get_theme_mod( 'ban_three_descs', __( 'Use of the  agile frameworks to give a high-level overviews and iterative corporate for a better strategy a solid synopsis.', 'constructionn' ) );
$s_banner_btn         = get_theme_mod( 'b_three_btn_txt_one', __( 'Learn More', 'constructionn' ) );
$s_banner_btn_link    = get_theme_mod( 'b_three_btn_link_one', '#' );
$s_banner_contact_btn = get_theme_mod( 'b_three_btn_txt_two', __( 'Learn More', 'constructionn' ) );
$s_banner_contact_num = get_theme_mod( 'b_three_btn_link_two', '#' );

if ( $banner_toggle && ( $s_banner_subheading || $s_banner_heading || $s_banner_desc || ( $s_banner_btn && $s_banner_btn_link ) || ( $s_banner_contact_btn && $s_banner_contact_num ) ) ) { ?>
	<section id="banner-section" class="banner-six 
	<?php
	if ( has_header_video() ) {
		echo esc_attr( ' banner-video ' );}
	?>
	" >
		<?php the_custom_header_markup(); ?>
		<div class="banner__content">
			<div class="container">
				<div class="banner-content-wrap">
					<?php if ( $s_banner_subheading || $s_banner_heading || $s_banner_desc || ( $s_banner_btn && $s_banner_btn_link ) || ( $s_banner_contact_btn && $s_banner_contact_num ) ) { ?>
						<div class="banner__left">
							<div class="banner-left-wrap">
								<?php if ( $s_banner_subheading ) { ?>
									<span class="banner-subheading"><?php echo esc_html( $s_banner_subheading ); ?></span>
								<?php } ?>
								<?php if ( $s_banner_heading ) { ?>
									<div class="banner__title-wrapper">
										<h2 class="section-header__title"><?php echo esc_html( $s_banner_heading ); ?></h2>
									</div>
								<?php } ?>
								<?php if ( $s_banner_desc ) { ?>
									<div class="banner__description-wrapper">
										<span class="banner__description"><?php echo esc_html( $s_banner_desc ); ?></span>
									</div>
								<?php } ?>
								<?php if ( ( $s_banner_btn && $s_banner_btn_link ) || ( $s_banner_contact_btn && $s_banner_contact_num ) ) { ?>
									<div class="banner__bottom">
											<?php if ( $s_banner_btn && $s_banner_btn_link ) { ?>
												<a href="<?php echo esc_url( $s_banner_btn_link ); ?>" class="btn btn-primary has-icon"><?php echo esc_html( $s_banner_btn ); ?></a>
											<?php } if ( $s_banner_contact_btn && $s_banner_contact_num ) { ?>
												<a href="<?php echo esc_url( 'tel:' . preg_replace( '/[^\d+]/', '', $s_banner_contact_num ) ); ?>" class="btn btn-layout-two">
													<span class="icon">
													<?php echo wp_kses( constructionn_handle_all_svgs( 'contact-ph' ), constructionn_get_kses_extended_ruleset() ); ?>                                         
													</span>                       
													<?php echo esc_html( $s_banner_contact_btn ); ?>
												</a>
											<?php } ?>
										</div>
								<?php } ?>
							</div>
						</div>
					<?php } ?>
				</div>
			</div>
		</div>
	</section>
<?php } ?>