new post & get post by id and (title or slug)