creation of lecture custom post type