@if (is_plugin_active('ads')) {!! AdsManager::display('before-featured-posts', ['style' => 'margin: 10px 0;']) !!} @endif
@if (is_plugin_active('blog')) @foreach(get_featured_posts((int) $shortcode->limit ?: 5) as $post)
{!! RvMedia::image($post->image, $post->name, attributes: ['class' => 'attachment-full size-full wp-post-image']) !!}

{!! BaseHelper::clean($post->name) !!}

{{ Theme::formatDate($post->created_at) }} @if (class_exists($post->author_type) && $post->author) {{ $post->author->name }} @endif
{{ Str::limit($post->description, 80) }}
@endforeach @endif
@if (is_plugin_active('ads')) {!! AdsManager::display('after-featured-posts', ['style' => 'margin: 10px 0;']) !!} @endif