PATH:
home
/
lab2454c
/
vaultchip.com
/
platform
/
themes
/
wowy
/
widgets
/
recent-posts
/
templates
@if (is_plugin_active('blog')) @php $posts = get_recent_posts($config['number_display']); @endphp @if ($posts->count()) {{-- <div class="sidebar-widget widget_alitheme_lastpost mb-50"> <div class="widget-header position-relative mb-20 pb-10"> <h5 class="widget-title">{{ $config['name'] }}</h5> </div> <div class="row"> @foreach($posts as $post) <div class="col-md-6 col-sm-6 sm-grid-content mb-30"> <div class="post-thumb d-flex border-radius-5 img-hover-scale mb-15"> <a href="{{ $post->url }}"> <img src="{{ RvMedia::getImageUrl($post->image, 'medium', false, RvMedia::getDefaultImage()) }}" alt="{{ $post->name }}"> </a> </div> <div class="post-content media-body"> <a href="{{ $post->url }}"><h6 class="post-title mb-10 text-limit-2-row">{{ $post->name }}</h6></a> <div class="entry-meta meta-1 font-xxs color-grey"> <span class="post-on has-dot">{{ $post->created_at->translatedFormat('M d, Y') }}</span> <span class="hit-count has-dot">{{ __(':count Views', ['count' => number_format($post->views)]) }}</span> </div> </div> </div> @endforeach </div> </div> --}} <div class="recent__post"> <h4>Recent Posts</h4> <ul> @foreach($posts as $post) <li><a href="{{ $post->url }}">{{ $post->name }}</a></li> @endforeach </ul> </div> @endif @endif
[-] backend.blade.php
[edit]
[+]
..
[-] frontend.blade.php
[edit]