| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/successkpi/wp-content/themes/successkpi/blocks/text-with-logo-gallery/ |
Upload File : |
<?php
if (function_exists('render_block_preview_image') && render_block_preview_image($block, 'customer logo gallery with text')) {
return;
}
$className = 'customer-success-banner ' . ($block['className'] ?? '');
?>
<section class="<?php echo esc_attr(trim($className)); ?>">
<div class="container">
<?php $micro_heading = get_field('micro_heading');
$heading = get_field('heading');
$description = get_field('description');
if ((isset($micro_heading) && !empty($micro_heading)) ||
(isset($heading) && !empty($heading)) ||
(isset($description) && !empty($description))
): ?>
<div class="customer-success-banner-content">
<?php if (!empty($micro_heading)): ?>
<label class="banner-label"><?php echo $micro_heading; ?></label>
<?php endif; ?>
<?php if (!empty($heading)): ?>
<h1><?php echo $heading; ?></h1>
<?php endif; ?>
<?php if (!empty($description)): ?>
<?php echo $description; ?>
<?php endif; ?>
</div>
<?php endif;
if (have_rows('experience_cards')) : ?>
<div class="customer-logos">
<?php while (have_rows('experience_cards')) : the_row();
$card_image = get_sub_field('card_image');
if (isset($card_image) && !empty($card_image)) : ?>
<div class="logo-item">
<img decoding="async" src="<?php echo esc_url($card_image['url']); ?>" alt="<?php echo (isset($card_image['alt']) && !empty($card_image['alt'])) ? esc_attr($card_image['alt']) : ''; ?>">
</div>
<?php endif;
endwhile; ?>
</div>
<?php endif; ?>
</div>
</section>