Save
This commit is contained in:
@@ -15,25 +15,28 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<div class="box-head">
|
||||
<h2><?php echo esc_html($box1['title']); ?></h2>
|
||||
<div class="box-head animate-text-linear">
|
||||
<h2><?php echo split_text_into_spans(esc_html($box1['title'])); ?></h2>
|
||||
</div>
|
||||
<div class="box-text">
|
||||
<p><?php echo esc_html($box1['text']); ?></p>
|
||||
|
||||
<div class="box-text animate-text-linear">
|
||||
<p><?php echo split_text_into_spans(esc_html($box1['text'])); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="contact-cards">
|
||||
<?php foreach ($box1['contacts'] as $item) : ?>
|
||||
<div class="contact-card">
|
||||
<div class="card-title">
|
||||
<h3><?php echo esc_html($item['title']); ?></h3>
|
||||
<div class="card-title animate-text-linear">
|
||||
<h3><?php echo split_text_into_spans(esc_html($item['title'])); ?></h3>
|
||||
</div>
|
||||
<div class="card-data">
|
||||
<?php echo wp_kses_post($item['text']); ?>
|
||||
<div class="card-data animate-text-linear">
|
||||
<?php echo split_text_into_spans(wp_kses_post($item['text'])); ?>
|
||||
<ul class="card-list">
|
||||
<?php foreach ($item['contacts_types'] as $contact) : ?>
|
||||
<li>
|
||||
<a href="<?php echo esc_url($contact['url']); ?>"><?php echo esc_html($contact['title']); ?></a>
|
||||
<a href="<?php echo esc_url($contact['url']); ?>" class="animate-text-linear">
|
||||
<?php echo split_text_into_spans(esc_html($contact['title'])); ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
@@ -42,8 +45,8 @@
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
<div class="contact-description">
|
||||
<?php echo wp_kses_post($box1['description']); ?>
|
||||
<div class="contact-description animate-text-linear">
|
||||
<?php echo split_text_into_spans(wp_kses_post($box1['description'])); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
|
||||
Reference in New Issue
Block a user