| 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/customer-testimonials/ |
Upload File : |
<?php
if (function_exists('render_block_preview_image') && render_block_preview_image($block, 'Customer Testimonials Preview')) {
return;
}
$className = 'customer-success-testimonials-block sk-section-spacing ' . ($block['className'] ?? '');
?>
<section class="<?php echo esc_attr(trim($className)); ?>">
<div class="container">
<?php if (have_rows('experience_cards')) : ?>
<div class="customer-success-testimonials-wrapper">
<?php while (have_rows('experience_cards')) : the_row(); ?>
<div class="sk-resource-testimonial-content">
<?php $card_image = get_sub_field('card_image');
if (isset($card_image) && !empty($card_image)) : ?>
<div class="sk-resource-testimonial-image">
<img decoding="async" class="sk-resource-person-img" 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;
$card_heading = get_sub_field('card_heading');
$card_description = get_sub_field('card_description');
if (isset($card_heading) && !empty($card_heading) || isset($card_description) && !empty($card_description)) : ?>
<div class="sk-resource-quote">
<?php if (isset($card_heading) && !empty($card_heading)) : ?>
<h3><?php echo esc_html($card_heading); ?></h3>
<?php endif; ?>
<?php if (isset($card_description) && !empty($card_description)) : ?>
<?php echo wp_kses_post($card_description); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php endwhile; ?>
</div>
<?php endif; ?>
</div>
</section>