Adding new btns
This commit is contained in:
@@ -107,6 +107,12 @@
|
||||
<p><?php echo $box_3_top['date']; ?></p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(!empty($box_3_top['btn']['url'])) : ?>
|
||||
<a href="<?php echo $box_3_top['btn']['url']; ?>" class="btn-4" target="<?php echo $box_3_top['btn']['target']; ?>">
|
||||
<span><?php echo $box_3_top['btn']['title']; ?></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<?php if ($box_3_top['text']): ?>
|
||||
@@ -180,6 +186,11 @@
|
||||
<p><?php echo $box_4_top['alert']; ?></p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if(!empty($box_4_top['btn']['url'])) : ?>
|
||||
<a href="<?php echo $box_4_top['btn']['url']; ?>" class="btn-4" target="<?php echo $box_4_top['btn']['target']; ?>">
|
||||
<span><?php echo $box_4_top['btn']['title']; ?></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<?php if ($box_4_top['text']): ?>
|
||||
@@ -295,15 +306,29 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="module-tile--nav">
|
||||
<?php if($tile['text']): ?>
|
||||
<button class="module-tile--btn">
|
||||
<span class="text-more">Rozwiń program</span>
|
||||
<span class="text-less" style="display: none;">Zwiń program</span>
|
||||
<img src="/wp-content/uploads/2025/11/CaretDown.svg" alt="">
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<span></span>
|
||||
<?php endif; ?>
|
||||
<nav>
|
||||
<?php if($tile['text']): ?>
|
||||
<button class="module-tile--btn">
|
||||
<span class="text-more">Rozwiń program</span>
|
||||
<span class="text-less" style="display: none;">Zwiń program</span>
|
||||
<img src="/wp-content/uploads/2025/11/CaretDown.svg" alt="">
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<span></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(!empty($tile['extra_buttons'])) : ?>
|
||||
<div class="module-tile--nav--btns">
|
||||
<?php foreach($tile['extra_buttons'] as $btn): ?>
|
||||
<?php if(!empty($btn['btn']['url'])) : ?>
|
||||
<a href="<?php echo $btn['btn']['url']; ?>" class="btn-4" target="<?php echo $btn['btn']['target']; ?>">
|
||||
<span><?php echo $btn['btn']['title']; ?></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</nav>
|
||||
|
||||
<?php if($tile['access']): ?>
|
||||
<div class="module-tile--access">
|
||||
|
||||
Reference in New Issue
Block a user