Display Custom Post type with multiple dates
-
I’m looking to have the option to display events with a start date and an end date across those dates on the calendar and retain the ability for dates with just a start date to appear on one date.
These are my fields
array ( 'key' => 'field_570d4f70fee53', 'label' => 'Start Date', 'name' => 'date', 'type' => 'date_time_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'field_type' => 'date_time', 'date_format' => 'yy-mm-dd', 'time_format' => 'HH:mm', 'past_dates' => 'yes', 'time_selector' => 'slider', 'first_day' => 1, ), array ( 'key' => 'field_570d4f70fee54', 'label' => 'End Date', 'name' => 'end_date', 'type' => 'date_time_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'field_type' => 'date_time', 'date_format' => 'yy-mm-dd', 'time_format' => 'HH:mm', 'past_dates' => 'yes', 'time_selector' => 'slider', 'first_day' => 1, ),
The topic ‘Display Custom Post type with multiple dates’ is closed to new replies.