Add function to return the post for an ID.