@if($global_page_item->blog_sidebar_search_status == 'Show')

{{ __('Search Here') }}

@endif @if($global_page_item->blog_sidebar_category_status == 'Show')

{{ __('Categories') }}

@endif @if($global_page_item->blog_sidebar_recent_post_status == 'Show')

{{ __('Recent Posts') }}

@php $all_recent_posts = App\Models\Post::orderBy('id','desc')->limit($global_page_item->blog_sidebar_recent_post_total)->get(); @endphp @foreach($all_recent_posts as $item)
img
{{ $item->created_at->format('d M, Y') }}

{{ $item->title }}

@endforeach
@endif @if($global_page_item->blog_sidebar_tag_status == 'Show') @php $tags = App\Models\Post::pluck('tags')->flatMap(function ($item) { return explode(',', $item); })->unique()->values(); @endphp @if(count($tags) != 0)

{{ __('Popular Tags') }}

@endif @endif