changes for event page and events as a post type.