This plugin uses custom post types to add some Events functionality. Pronamic Events allows you to add, edit and remove events.
Template Functions
- Start Date
- pronamic_get_the_start_date( $format = null )
- pronamic_the_start_date( $format = null )
- pronamic_has_start_date()
- End Date
- pronamic_get_the_end_date( $format = null )
- pronamic_the_end_date( $format = null )
- pronamic_has_end_date()
- Location
- pronamic_get_the_location()
- pronamic_the_location()
- pronamic_has_location()
Meta Keys
- _pronamic_start_date
- _pronamic_end_date
- _pronamic_location
Gravity Forms
With
Gravity Forms and the
Gravity Forms + Custom Post Types
you can create an form to create event posts. In most cases you also want to automatic fill in the event start date, end date
and location. You can set this up by checking one of the options on the date/time fields.
- Is Event Start Date
- Is Event Start Time
- Is Event End Date
- Is Event End Time
For the other fields you can add Custom Fields from the Post Fields
section and give them the correct custom field names:
- Location - Field Type = Text, Name = _pronamic_location
- Website - Field Type = Website, Name = _pronamic_event_url
Upload the Pronamic Events folder to your wp-content/plugins folder.