| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/ifwar.ru/www/wp-content/plugins/clever-fox/inc/boostify/sections/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! function_exists( 'cleverfox_boostify_lite_info' ) ) :
function cleverfox_boostify_lite_info() {
$boostify_hs_info = get_theme_mod('hs_info','1');
$boostify_info_contents = get_theme_mod('info_contents',boostify_get_info_default());
if($boostify_hs_info == '1'){
?>
<section id="contact-info-section" class="contact-info-section">
<div class="container">
<div class="row">
<?php
if ( ! empty( $boostify_info_contents ) ) {
$boostify_info_contents = json_decode( $boostify_info_contents );
foreach ( $boostify_info_contents as $boostify_slide_item ) {
$boostify_repeater_title = ! empty( $boostify_slide_item->title ) ? apply_filters( 'boostify_translate_single_string', $boostify_slide_item->title, 'Info section' ) : '';
$boostify_repeater_subtitle = ! empty( $boostify_slide_item->subtitle ) ? apply_filters( 'boostify_translate_single_string', $boostify_slide_item->subtitle, 'Info section' ) : '';
$boostify_repeater_link = ! empty( $boostify_slide_item->link ) ? apply_filters( 'boostify_translate_single_string', $boostify_slide_item->link, 'Info section' ) : '';
$boostify_repeater_icon = ! empty( $boostify_slide_item->icon_value) ? apply_filters( 'boostify_translate_single_string', $boostify_slide_item->icon_value,'Info section' ) : '';
?>
<div class="col-lg-3 col-sm-6 col-12">
<div class="inner-content">
<div class="widget-contact">
<div class="contact-area">
<?php if(!empty($boostify_repeater_icon) || !empty($boostify_repeater_image)):?>
<div class="contact-icon">
<div class="contact-corn">
<?php if(!empty($boostify_repeater_icon)):?>
<i class="fa <?php echo esc_attr($boostify_repeater_icon); ?>"></i>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php if(!empty($boostify_repeater_title) || !empty($boostify_repeater_subtitle)):?>
<div class="contact-info">
<?php if(!empty($boostify_repeater_title)):?>
<h6><a href="<?php echo esc_url($boostify_repeater_link); ?>"><?php echo esc_html($boostify_repeater_title); ?></a></h6>
<?php endif; ?>
<?php if(!empty($boostify_repeater_subtitle)):?>
<p><a href="<?php echo esc_url($boostify_repeater_link); ?>"><?php echo esc_html($boostify_repeater_subtitle); ?></a></p>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php } } ?>
</div>
</div>
</section>
<?php
}}
endif;
if ( function_exists( 'cleverfox_boostify_lite_info' ) ) {
$cleverfox_section_priority = apply_filters( 'boostify_section_priority', 12, 'cleverfox_boostify_lite_info' );
add_action( 'boostify_sections', 'cleverfox_boostify_lite_info', absint( $cleverfox_section_priority ) );
}