updated plugin to show on event custom post type.