Commit 4c72fe35 by rajshah

done for icon box

parent 80543b07
<section class="SERVICE-LISTING pt-80"> <!-- Seo - Icon Box Section -->
<div class="container"> <?php
<div class="top-title section-title"> $ibs = get_field('ibs') ?: [];
<h2>Services we provide in Content Marketing</h2> if (isset($ibs) && is_array($ibs) && !empty($ibs)):
<p>Our swift-paced team is capable of handling design projects on anywhere and anytime. We’re ready to deliver $enable_ibs = $ibs['enable_ibs'] ?: false;
your best product wherever you are!</p> if ($enable_ibs):
</div> $ibs_title = $ibs['ibs_title'] ?: '';
$ibs_desc = $ibs['ibs_desc'] ?: '';
$ibs_items = $ibs['ibs_items'] ?: [];
if (isset($ibs_items) && is_array($ibs_items) && !empty($ibs_items)):
?>
<section class="SERVICE-LISTING pt-80">
<div class="container">
<div class="top-title section-title">
<?php if (!empty($ibs_title)): ?>
<h1><?php echo $ibs_title; ?></h1><?php endif;
echo $ibs_desc ?: '';
?>
</div>
<div class="row"> <div class="row">
<?php <?php
$services = array_fill(0, 4, []); foreach ($ibs_items as $ibsi) {
foreach ($services as $service) { $ibsi_icon = $ibsi['ibsi_icon'] ?: '';
?> $ibsi_title = $ibsi['ibsi_title'] ?: '';
<div class="col-md-6 col-xl-3"> $ibsi_desc = $ibsi['ibsi_desc'] ?: '';
<div class="service-item"> ?>
<div class="si-icon"> <div class="col-md-6 col-xl-3">
<img src="<?php echo get_parent_theme_file_uri() ?>/assets/img/service-detail-01.svg" alt=""> <div class="service-item">
</div> <?php if (!empty($ibsi_icon)): ?>
<div class="si-content"> <div class="si-icon">
<strong>Strategy Development</strong> <img src="<?php echo esc_url($ibsi_icon); ?>" alt="<?php echo esc_attr($ibsi_title); ?>">
<p>We design a custom content strategy that aligns with your business objectives, target audience, and </div><?php endif; ?>
industry trends.</p> <div class="si-content">
</div> <?php if (!empty($ibsi_title)): ?><strong><?php echo $ibsi_title; ?></strong>
<?php endif;
echo $ibsi_desc ?: ''; ?>
</div>
</div>
</div>
<?php
}
?>
</div> </div>
</div> </div>
<?php </section>
} <?php endif; endif; endif; ?>
?> <!-- !Seo - Icon Box Section -->
</div> \ No newline at end of file
</div>
</section>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment