Plugin: https://wordpress.org/plugins/wp-fullcalendar/
我使用插件显示“custom\\u post\\u type”事件。我在几个地方修改了“wp fullcalendar.php”插件文件,以显示“custom\\u fields”事件的开始和结束时间
请你帮忙好吗?谢谢
These are my edits to the plugin code
wp-fullcaleendar.php/*
$post_date = substr($post->post_date, 0, 10);
$post_timestamp = strtotime($post->post_date);
*/
$post_date = substr($post->_EventStartDate, 0, 10);
$post_timestamp = strtotime($post->_EventStartDate);
$post_end_date = substr($post->_EventEndDate, 0, 10);
$post_end_timestamp = strtotime($post->_EventEndDate);
include/js/inline.jseditable: true,
droppable: true,
eventOverlap: true,
dayMaxEvents: true,
我需要在日历上拖动约会的位置或更改约会的持续时间后立即保存约会。我不能这么做。代码的来源,如何实现这一点,如下所示: