Multi Date events not showing on Calendar
-
Hi,
Hope you are well. I was wondering if you could please help me with my calendar problem.
I am using this calendar together with the Advanced Custom Field which is added through “Start” and “End” date using the datepicker.
Some of the events seems to be appearing on the calendar, however the end date is not appearing on the correct end date. Example [May and August Event is not showing]
https://pallmall.je-hosting.co.uk/information-hub/
If you have any idea what is the issue, please let me know. Your help is much appreciated.
I have amended this bit on wp-fullcalendar.php:
$time_date = get_field(‘start’);
$end_date = get_field(‘end’);
$post_date = substr($time_date, 0, 10);
$post_timestamp = strtotime($time_date);
$end_timestamp = strtotime($end_date);if( empty($item_date_counts[$post_date]) || $item_date_counts[$post_date] < $limit ){
$title = $post->post_title;
$item = array (
“title” => $title,
“color” => $color,
“start” => date(‘Y-m-d’, $post_timestamp),
“end” => date(‘Y-m-d’, $end_timestamp),
“url” => get_permalink($post->ID),
‘post_id’ => $post->ID
);Kind Regards,
Krystal Blackwell
- The topic ‘Multi Date events not showing on Calendar’ is closed to new replies.