You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/posts/PostsSlider/PostsSlider.blade.php

28 lines
846 B
PHTML

<section class='PostsSlider'>
<div class="{{gfx()['container']}}">
<h1>
{{getSetting($data->area_name.'_'.$data->part.'_title')}}
</h1>
</div>
<div id="posts-slider-container">
<div id="posts-slider">
@foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group',10) as $post )
<div class="item slider-content">
<div class="post-slider">
<a href="{{$post->webUrl()}}">
<img src="{{$post->orgUrl()}}" alt=" {{$post->title}}">
<h3>
{{$post->title}}
</h3>
</a>
</div>
</div>
@endforeach
</div>
</div>
</section>