public function getLatestPostFromPage($id) { $posts = $this->getPostsFromPage($id); return reset($posts); }