calendar – Save event change in WP Fullcalendar: editable + draggable



I use a plugin to display my “custom_post_type” events.

  1. I have modified the “wp-fullcalendar.php” plugin file in several places to show the start and end time of the “custom_fields” event.
  2. I also edited the “inline.js” file in the “includes / js /” folder to make the calendar “editable” and “dragable”.
  3. But I CAN’T set the calendar to save the change to my “custom_post_type” event when I make a change by moving the event on the calendar.

I read the documentation for the JS plugin “”, but I can’t insert the code into the already finished plugin “WP Fullcalendar”.

Will you help please? Thanks!!!

These are my edits to the plugin code


$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);


editable: true,
droppable: true,
eventOverlap: true,
dayMaxEvents: true,

I need to save my appointment as soon as I drag its location on my calendar or when I change its duration. And I just can’t do this. The source of the code, how to achieve this, is here:

Jičínský Rumcajs 12 months 2021-10-12T12:25:43-05:00 0 Answers 0 views 0

Leave an answer