@if(count($post_data))
@foreach($post_data as $item)
@endforeach
@else
{{ NO_POST_FOUND }}
@endif
{{ $sub_category_data->sub_category_name }}
{{ $item->post_title }}
@if($item->author_id==0)
@php
$user_data = \App\Models\Admin::where('id',$item->admin_id)->first();
@endphp
@else
@php
$user_data = \App\Models\Author::where('id',$item->author_id)->first();
@endphp
@endif
{{ $user_data->name }}
@php
$ts = strtotime($item->updated_at);
$updated_date = date('d F, Y',$ts);
@endphp
{{ $updated_date }}
{{ $post_data->links() }}