![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/public_html/wp-content/themes/film-celebrity/sections/ |
<?php if ( true == get_theme_mod( 'film_celebrity_industry_heroes_on_off', 'off' ) ) : ?> <?php $film_celebrity_industry_heroes_short_heading = get_theme_mod('film_celebrity_industry_heroes_short_heading'); $film_celebrity_industry_heroes_main_heading = get_theme_mod('film_celebrity_industry_heroes_main_heading'); $film_celebrity_industry_heroes_count = get_theme_mod('film_celebrity_industry_heroes_count'); ?> <section id="home_industry_heroes" class="py-5"> <div class="container"> <?php if ( ! empty( $film_celebrity_industry_heroes_short_heading ) ): ?> <h4 class="text-center"><?php echo esc_html( $film_celebrity_industry_heroes_short_heading ); ?> </h4> <?php endif; ?> <?php if ( ! empty( $film_celebrity_industry_heroes_main_heading ) ): ?> <h3 class="text-center mb-4"><?php echo esc_html( $film_celebrity_industry_heroes_main_heading ); ?> </h3> <?php endif; ?> <div class="row"> <?php for ($i=1; $i <= $film_celebrity_industry_heroes_count; $i++) { $film_celebrity_industry_heroes_image = get_theme_mod('film_celebrity_industry_heroes_image'.$i); $film_celebrity_industry_heroes_name = get_theme_mod('film_celebrity_industry_heroes_name'.$i); $film_celebrity_industry_heroes_designation = get_theme_mod('film_celebrity_industry_heroes_designation'.$i); $film_celebrity_slider_facebook_link = get_theme_mod('film_celebrity_slider_facebook_link'.$i); $film_celebrity_slider_twitter_link = get_theme_mod('film_celebrity_slider_twitter_link'.$i); $film_celebrity_slider_youtube_link = get_theme_mod('film_celebrity_slider_youtube_link'.$i); $film_celebrity_slider_watsapp_link = get_theme_mod('film_celebrity_slider_watsapp_link'.$i); ?> <div class="col-lg-3 col-md-6"> <div class="heroes_main_box text-center"> <?php if ( ! empty( $film_celebrity_industry_heroes_image ) ) : ?> <img class="mb-4" src="<?php echo esc_url( $film_celebrity_industry_heroes_image ); ?>"> <div class="social_media"> <?php if ( ! empty( $film_celebrity_slider_facebook_link ) ) : ?> <a target="_blank" href="<?php echo esc_url( $film_celebrity_slider_facebook_link ); ?>"> <i class="fa fa-facebook"></i> </a> <?php endif; ?> <?php if ( ! empty( $film_celebrity_slider_twitter_link ) ) : ?> <a target="_blank" href="<?php echo esc_url( $film_celebrity_slider_twitter_link ); ?>"> <i class="fa fa-twitter"></i> </a> <?php endif; ?> <?php if ( ! empty( $film_celebrity_slider_youtube_link ) ) : ?> <a target="_blank" href="<?php echo esc_url( $film_celebrity_slider_youtube_link ); ?>"> <i class="fa fa-youtube-play"></i> </a> <?php endif; ?> <?php if ( ! empty( $film_celebrity_slider_watsapp_link ) ) : ?> <a target="_blank" href="<?php echo esc_url( $film_celebrity_slider_watsapp_link ); ?>"> <i class="fa fa-whatsapp"></i> </a> <?php endif; ?> </div> <?php endif; ?> <div class="heroes_content_box text-center mb-4"> <?php if ( ! empty( $film_celebrity_industry_heroes_name ) ) : ?> <h5 class="mb-1"><?php echo esc_html( $film_celebrity_industry_heroes_name ); ?></h5> <?php endif; ?> <?php if ( ! empty( $film_celebrity_industry_heroes_designation ) ) : ?> <p class="mb-0"><?php echo esc_html( $film_celebrity_industry_heroes_designation ); ?></p> <?php endif; ?> </div> </div> </div> <?php } ?> </div> </div> </section> <?php endif; ?>