The Events Calendar and Gravity Forms are two plugins for WordPress that are incredibly powerful. After much searching and coding, I was able to put together several different sections of code. These are some of the highlights of what’s included that can be automatically created:
- Name and Description
- Date of Event
- Start and End Time
- Venues (which can be selected in the form and is populated with previously inserted venue entries)
- Organizers (same as Venues)
- Event URL
- Upload an image and automatically use as Featured Image
Still working on getting the Event Categories portion to work. If you have any suggestions, please let me know.
Here is a page that utilizes the function – http://experiencehermann.com/event-submission
Here is the Gist of code with comments throughout – https://gist.github.com/leepettijohn/0ab7e5a7474f9f77df20
All sources of used code have been cited in the comments and thanks to the many people that have contributed to this.