HEX
Server: nginx/1.27.0
System: Linux 20d173156d2c 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/content-egg/templates/block_text_links.php
<?php
/*
 * Name: Text links
 * Modules:
 * Module Types: PRODUCT
 *
 */

use ContentEgg\application\helpers\TemplateHelper;
use ContentEgg\application\helpers\TextHelper;

defined('\ABSPATH') || exit;

?>
<div class="container px-0 mb-5 pt-2 text-body" <?php $this->colorMode(); ?>>
    <ul>
        <?php
        foreach ($items as $i => $item) : ?>
            <?php $this->setItem($item, $i); ?>
            <?php $item['title'] = TextHelper::truncate($item['title'], 80); ?>
            <li>
                <?php TemplateHelper::openATag($item); ?>
                <?php TemplateHelper::title($item, '', 'span', $params); ?>
                <?php TemplateHelper::closeATag(); ?>

                <?php if (!empty($item['price']) && $this->isVisible('price')): ?>
                    <strong class="<?php TemplateHelper::priceClass($item); ?>">
                        &mdash; <?php TemplateHelper::price($item); ?>
                    </strong>

                    <?php if ($this->isVisible('priceOld')): ?>
                        <del class="cegg-old-price text-body-tertiary"><?php TemplateHelper::oldPrice($item); ?></del>
                    <?php endif; ?>
                <?php endif; ?>

            </li>
        <?php endforeach; ?>
    </ul>
    <?php $this->renderBlock('disclaimer'); ?>

</div>