| Server IP : 3.93.235.159 / Your IP : 216.73.216.140 Web Server : Apache System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64 User : bitnami ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/themes/education-zone/sections/ |
Upload File : |
<?php
/**
* Welcome Section
*/
$section_title = get_theme_mod( 'education_zone_welcome_section_title' );
?>
<div class="container">
<?php
education_zone_get_section_header( $section_title );
$first_stats_number = get_theme_mod( 'education_zone_first_stats_number' );
$first_stats_title = get_theme_mod( 'education_zone_first_stats_title' );
$second_stats_number = get_theme_mod( 'education_zone_second_stats_number' );
$second_stats_title = get_theme_mod( 'education_zone_second_stats_title' );
$third_stats_number = get_theme_mod( 'education_zone_third_stats_number' );
$third_stats_title = get_theme_mod( 'education_zone_third_stats_title' );
$fourth_stats_number = get_theme_mod( 'education_zone_fourth_stats_number' );
$fourth_stats_title = get_theme_mod( 'education_zone_fourth_stats_title' );
if( $first_stats_number || $first_stats_title || $second_stats_number || $second_stats_title || $third_stats_number || $third_stats_title || $fourth_stats_number || $fourth_stats_title ){ ?>
<div class="row">
<?php if( $first_stats_number && $first_stats_title ){ ?>
<div class="col">
<div class="text">
<h3 class="number"><?php echo esc_html( $first_stats_number ); ?></h3>
<span><?php echo esc_html( $first_stats_title ); ?></span>
</div>
</div>
<?php } if( $second_stats_number && $second_stats_title ){ ?>
<div class="col">
<div class="text">
<h3 class="number"><?php echo esc_html( $second_stats_number ); ?></h3>
<span><?php echo esc_html( $second_stats_title ); ?></span>
</div>
</div>
<?php } if( $third_stats_number && $third_stats_title ){ ?>
<div class="col">
<div class="text">
<h3 class="number"><?php echo esc_html( $third_stats_number ); ?></h3>
<span><?php echo esc_html( $third_stats_title ); ?></span>
</div>
</div>
<?php } if( $fourth_stats_number && $fourth_stats_title ){ ?>
<div class="col">
<div class="text">
<h3 class="number"><?php echo esc_html( $fourth_stats_number ); ?></h3>
<span><?php echo esc_html( $fourth_stats_title ); ?></span>
</div>
</div>
<?php } ?>
</div>
<?php } ?>
</div>