Setting post id to the id of a page rather than a post