AlkantarClanX12
Current Path : /home/thanudqk/siamfreetour.com/wp-content/themes/fast-techup/template-parts/ |
Current File : //home/thanudqk/siamfreetour.com/wp-content/themes/fast-techup/template-parts/content-callout2.php |
<?php $techup_enable_callout_section = get_theme_mod( 'techup_enable_callout_section', false ); $techup_co2_image = get_theme_mod( 'techup_co2_image' ); if($techup_enable_callout_section == true ) { $techup_callout_title = get_theme_mod( 'techup_callout_title'); $techup_callout_content = get_theme_mod( 'techup_callout_content'); $techup_callout_button_label1 = get_theme_mod( 'techup_callout_button_label1'); $techup_callout_button_link1 = get_theme_mod( 'techup_callout_button_link1'); if($techup_co2_image=="") { $techup_co2_image = esc_url( get_template_directory_uri() . '/assets/images/banner.jpg' ); } ?> <section class="cta-7 ptb-70 busi-corp" style="background-image:url(<?php if($techup_co2_image) { echo esc_url($techup_co2_image); } else { echo esc_url(get_callout_image()); } ?>)">> <div class="container"> <div class="row"> <div class="col-md-12"> <h3 class="c-white"><?php echo esc_html($techup_callout_title); ?></h3> <p class="c-white mb-0"><?php echo esc_html($techup_callout_content); ?></p> <div class="flex-btn buco"> <?php if(!empty($techup_callout_button_label1 && $techup_callout_button_link1)): ?> <div class="btn"> <a href="<?php echo esc_url($techup_callout_button_link1); ?>"><?php echo esc_html($techup_callout_button_label1); ?></a> </div> <?php endif; ?> </div> </div> </div> </div> </section> <?php } ?>