@php if (class_exists($post->author_type)) { $post->loadMissing('author'); } $author = class_exists($post->author_type) ? ($post->author ?? null) : null; $view = $post->views ?? null; $content = $post->content ?? null; $wrapperClass = $wrapperClass ?? null; $isSingle = $isSingle ?? false; $isShowAuthorName = ($isSingle || echo_is_show_post_meta('author_name')) && $author; $isShowReadingTime = ($isSingle || echo_is_show_post_meta('reading_time', true)) && $post->time_reading; $isShowViewsCount = ($isSingle || echo_is_show_post_meta('views_count')) && $view; @endphp @if ($isShowAuthorName || $isShowViewsCount || $isShowReadingTime)