<?php if(have_rows('link_items')): ?>
    <div class="image-text__links">
        <?php while(have_rows('link_items')): ?>
            <?php
                the_row();
                $item = get_sub_field( 'link_item' );
                $target = $item['target'] ? $item['target'] : '_self';
            ?>
            <?php if($item): ?>
                <a href="<?php echo e($item['url']); ?>" target="<?php echo e($target); ?>" class="image-text__links__item">
                    <p><?php echo $item['title']; ?></p>
                    <span><?php echo e(__('Learn more', 'aphea')); ?></span>
                </a>
            <?php endif; ?>
        <?php endwhile; ?>
    </div>
<?php endif; ?><?php /**PATH D:\Projekti\WordPress\aphea\public\app\themes\aphea\resources\views/blocks/image-text/links.blade.php ENDPATH**/ ?>