<div class="home-slider owl-carousel owl-theme">

  <?php foreach($banner as $item): ?>

  <?php if($item->position=='Slider'): ?>

  <div class="item"  > <img src="<?php echo e($item->link); ?>" alt="<?php echo e($item->title); ?>"> </div>

  <?php endif; ?>

  <?php endforeach; ?>

</div>