Sure.
In wp-fullcalendar.php somewhere round line 196 change
$post_date = substr($post->post_date, 0, 10);
$post_timestamp = strtotime($post->post_date);
to
$acf_date = get_field('yourdate');
$post_date = substr($acf_date, 0, 10);
$post_timestamp = strtotime($acf_date);
-
This reply was modified 9 years, 1 month ago by
konsument.
Thank you. That worked perfectly!
*PLEASE IGNORE THIS AS I NOTICED SHORTLY AFTER POSTING THIS THAT THE DATE FORMAT THAT WAS BEIN RETURNED WAS INCORECT FOR THE CALENDER*
Hi, if I use a text box this works with no issue, but when using this code with a date picker custom field the event is not displayed.
appreciate any help in advance.
-
This reply was modified 8 years, 11 months ago by
sandstorm121.