= htmlspecialchars($post['title']) ?>
= htmlspecialchars($post['author_name']) ?>
= date('F d, Y • h:i A', strtotime($post['published_at'])) ?>
prepare("UPDATE posts SET views = views + 1 WHERE id = :id")->execute([':id' => $post['id']]);
$tags = get_post_tags($post['id']);
$comments = get_post_comments($post['id']);
$trending = get_trending_news(5);
$related = get_latest_posts(3, 0, [$post['id']]);
$page_title = $post['title'];
require_once 'layouts/header.php';
$share_url = article_url($post['slug']);
?>
= htmlspecialchars($post['author_name']) ?> = date('F d, Y • h:i A', strtotime($post['published_at'])) ?>
= htmlspecialchars($post['title']) ?>
Recommended For You