@extends('frontend.frontend-page-master') @php $post_img = null; $blog_image = get_attachment_image_by_id($blog_post->image,"full",false); $post_img = !empty($blog_image) ? $blog_image['img_url'] : ''; @endphp @section('og-meta') @endsection @section('page-meta-data') @endsection @section('site-title') {{$blog_post->title}} @endsection @section('page-title') {{$blog_post->title}} @endsection @section('content') @if (!empty($blog_image)) @endif @if(!empty($blog_post->video_url)) @endif {{ date_format($blog_post->created_at,'d M Y')}} {{ $blog_post->author}} {!! get_blog_category_by_id($blog_post->blog_categories_id,'link') !!} {!! iFrameFilterInSummernoteAndRender($blog_post->content) !!} @if(count($all_related_blog) > 1) {{get_static_option('blog_single_page_'.$user_select_lang_slug.'_related_post_title')}} @foreach($all_related_blog as $data) @if($data->id === $blog_post->id) @continue @endif {!! render_image_markup_by_attachment_id($data->image,null,'grid') !!} {{$data->title}} @endforeach @endif @include('frontend.pages.blog.sidebar') @endsection @section('scripts') @if(!empty(get_static_option('site_disqus_key'))) Please enable JavaScript to view the comments powered by Disqus. @endif @endsection