{!! apply_filters('ads_render', null, 'post_before', ['class' => 'my-2 text-center']) !!} @if($post->categories->isNotEmpty()) @foreach($post->categories as $category) {{ $category->name }} @endforeach @endif {!! BaseHelper::clean($post->name) !!} @if($post->description) {!! BaseHelper::clean($post->description) !!} @endif @if($post->author) {{ RvMedia::image($post->author->avatar_url, $post->author->name, attributes: ['class' => 'rounded-circle', 'style' => 'width: 40px; height: 40px;']) }} @endif {{ $post->author->name }} {{ Theme::formatDate($post->created_at) }} {{ __(':time mins to read', ['time' => $post->time_reading]) }} {{ RvMedia::image($post->image, $post->name, attributes: ['class' => 'rounded-4 w-100']) }} {!! BaseHelper::clean($post->content) !!} {{ __('Share this post:') }} {!! Theme::renderSocialSharing($post->url, SeoHelper::getDescription(), $post->image) !!} {!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $post) !!} @php $relatedPosts = get_related_posts($post->getKey(), 3); @endphp @if($relatedPosts->isNotEmpty()) {{ __('Related Posts') }} @foreach($relatedPosts as $post) @include(Theme::getThemeNamespace('views.templates.partials.post-item')) @endforeach @endif {!! apply_filters('ads_render', null, 'post_after', ['class' => 'my-2 text-center']) !!}
{!! BaseHelper::clean($post->description) !!}
{{ Theme::formatDate($post->created_at) }}
{{ __('Share this post:') }}