{"id":2244,"date":"2018-11-14T07:33:49","date_gmt":"2018-11-14T13:33:49","guid":{"rendered":"https:\/\/www.providencecatholic.org\/harvest-drive\/submit-events\/"},"modified":"2018-11-14T07:33:49","modified_gmt":"2018-11-14T13:33:49","slug":"submit-events","status":"publish","type":"page","link":"https:\/\/www.providencecatholic.org\/harvest-drive\/submit-events\/","title":{"rendered":"Submit Events"},"content":{"rendered":"\n<script>\n(function ($) {\n\t$(function() {\n\t\tif ( typeof(mc_months) !== 'undefined' ) {\n\t\t\t$( 'input.mc-datepicker' ).pickadate( {\n\t\t\t\tmonthsFull: mc_months,\n\t\t\t\tformat: 'yyyy-mm-dd',\n\t\t\t\tweekdaysShort: mc_days,\n\t\t\t\tselectYears: true,\n\t\t\t\tselectMonths: true,\n\t\t\t\teditable: true,\n\t\t\t\tfirstDay: 0,\n\t\t\t\ttoday: 'Today',\n\t\t\t\tclear: 'Clear',\n\t\t\t\tclose: 'Close',\n\t\t\t\tonClose: function() {\n\t\t\t\t\tmc_update_date();\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\t$( 'input.mc-timepicker' ).pickatime({\n\t\t\t\tinterval: 15,\n\t\t\t\tformat: 'h:i a',\n\t\t\t\teditable: true\n\t\t\t});\n\n\t\t\tvar begin = $( '#mc_event_date' ).pickadate( 'picker' );\n\t\t\tvar end   = $( '#mc_event_enddate' ).pickadate( 'picker' );\n\t\t\tvar time  = $( '#mc_event_time' ).pickatime( 'picker' );\n\t\t\tvar ends  = $( '#mc_event_endtime' ).pickatime( 'picker' );\n\n\t\t\tvar curDate = new Date( '2026-05-02' );\n\t\t\tif ( begin !== undefined ) {\n\t\t\t\tbegin.set( 'select', curDate );\n\t\t\t}\n\t\t\tif ( end !== undefined ) {\n\t\t\t\tend.set( 'select', curDate );\n\t\t\t}\n\t\t\tif ( time !== undefined ) {\n\t\t\t\ttime.set( 'select', '12:00 pm' );\n\t\t\t}\n\n\t\t}\n\n\t\tfunction mc_update_date() {\n\t\t\tvar startdate = new Date( $( '#mc_event_date' ).val() );\n\t\t\tif ( end !== undefined ) {\n\t\t\t\tend.set( 'min', startdate );\n\t\t\t}\n\t\t\tif ( end !== undefined ) {\n\t\t\t\tvar enddate   = new Date( $( '#mc_event_enddate' ).val() );\n\t\t\t\tbegin.set( 'max', enddate );\n\t\t\t}\n\t\t}\n\n\t})\n})(jQuery);\n<\/script>\n\t<div class='mc-submissions'>\n\t\t\n\t\t\n\t\t\n\t\t<form action='https:\/\/www.providencecatholic.org\/harvest-drive\/submit-events\/' method='post' class='mcs-submission'>\n\t\t<div class='hidden-inputs'>\n\t\t\t<input type='hidden' name='event_nonce_name' value='152b2e6a5f' \/>\n\t\t\t<input type='hidden' name='mcs_submission' value='on' \/>\n\t\t\t<input type='hidden' name='event_author' value='0' \/>\n\t\t\t<input type='hidden' name='event_link_expires' value='0' \/>\n\t\t\t<input type='hidden' name='event_holiday' value='false' \/>\n\t\t\t<input type='hidden' name='event_fifth_week' value='' \/>\n\t\t\t<input type='hidden' name='event_group_id' value='1' \/>\n\t\t\t<div style='display: none;'>\n\t\t\t\t<label for='your_name'>Do not complete this field.<\/label>\n\t\t\t\t<input type='text' name='your_name' id='your_name' value='' autocomplete='off' \/>\n\t\t\t<\/div>\n\t\t\t\n\t<\/div>\n\t<p>\n\t\t<label for='mc_event_title'>Event Title <span>(required)<\/span><\/label> <input type='text' name='event_title' id='mc_event_title' value='' required='required' aria-required='true' \/>\n\t<\/p>\n\t<div class='mc_begin_container'>\n\t\t<p>\n\t\t\t<label for='mc_event_date'>Date <span>(required)<\/span><\/label> <input type='text' class='mc-datepicker' name='event_begin[]' id='mc_event_date' value='' required='required' aria-required='true' \/>\n\t\t<\/p>\n\t<p>\n\t\t<label for='mc_event_time'>Time<\/label> <input type='time' name='event_time[]' id='mc_event_time' class='mc-timepicker' value='' \/>\n\t<\/p>\n\t<\/div><div class='mc_end_container'><input type='hidden' name='event_end[]' value='' \/><p>\n\t\t\t<label for='mc_event_endtime'>End time<\/label> <input type='time' name='event_endtime[]' id='mc_event_endtime' class='mc-timepicker' value=''\/>\n\t\t<\/p><\/div><p>\n\t\t\t\t<label for='mcs_name'>Your Name<\/label> <input type='text' name='mcs_name' id='mcs_name' value='' required=\"required\" \/>\n\t\t\t<\/p><p>\n\t\t\t\t<label for='mcs_email'>Your Email<\/label> <input type='email' name='mcs_email' id='mcs_email' value='' required=\"required\" \/>\n\t\t\t<\/p>\n\t\t<p class='recurring'>\n\t\t<label for='event_repeats'>Repeats<\/label> <input type='number' name='event_repeats' id='event_repeats' class='input' size='1' min='0' max='999' value='0' \/>\n\t\t<label for='event_every'>every<\/label> <input type='number' name='event_every' id='event_every' class='input' size='1' min='1' max='99' maxlength='2' value='1' \/>\n\t\t<label for='event_recur' class='screen-reader-text'>Units<\/label> <select name='event_recur' class='input' id='event_recur'>\n\t\t\t<option data-period=\"none\" value=\"S\"  selected='selected'>Does not recur<\/option><option data-period=\"86400\" value=\"D\" >Daily<\/option><option data-period=\"86400\" value=\"E\" >Daily, weekdays only<\/option><option data-period=\"604800\" value=\"W\" >Weekly<\/option><option data-period=\"2592000\" value=\"M\" >Monthly by date (e.g. the 24th of each month)<\/option><option data-period=\"2592000\" value=\"U\" >Monthly by day (e.g. the 3rd Monday of each month)<\/option><option data-period=\"31536000\" value=\"Y\" >Yearly<\/option>\n\t\t<\/select>\n\t\t<\/p><p>\n\t\t\t<label for='mc_event_description'>Description<\/label>\n\t\t\t<textarea name='content' id='mc_event_description' class='full_description'><\/textarea>\n\t\t<\/p><p>\n\t\t\t\t<label for='mc_event_link'>Link<\/label>\n\t\t\t\t<input type='url' name='event_link' id='mc_event_link' value='' placeholder='http:\/\/' \/>\n\t\t\t<\/p>\n\t\t\t<p>\n\t\t\t\t<label for='mc_event_image'>Image (URL)<\/label>\n\t\t\t\t<input type='url' name='event_image' id='mc_event_image' value='' \/>\n\t\t\t<\/p>\n\t\t\t\t<p class=\"mc_category\">\n\t\t\t\t\t<label for=\"event_category\">Category<\/label>\n\t\t\t\t\t<select class=\"widefat\" name=\"event_category\" id=\"e_category\">\n\t\t\t\t\t\t<option value=\"1\"  selected=\"selected\">General<\/option>\n\t\t\t\t\t<\/select>\n\t\t\t\t<\/p><p>\n\t\t\t\t\t<label for='mcs_event_location'>Location<\/label>\n\t\t\t\t\t<select name='location_preset' id='mcs_event_location'>\n\t\t\t\t\t\t<option value='none'> Select or add a location<\/option>\n\t\t\t\t\t\t<option value=\"none\">No location<\/option>\n\t\t\t\t\t<\/select>\n\t\t\t\t<\/p>\n\t\t\t\t\t\t<button type='button' class='toggle_location_fields' aria-expanded='false'>Add New Location<span class='dashicons dashicons-plus' aria-hidden='true'><\/span><\/button>\n\t\t\t\t\t\t<div class='mcs_location_fields'>\n\t\t\t\t\t\t\t\n\t<p>\n\t\t<label for=\"event_label\">Name of Location<\/label><input type=\"text\" id=\"event_label\" name=\"event_label\" class=\"input\" value=\"\" \/><\/p>\n\t\t<p>\n\t\t\t<label for=\"event_street\">Street Address<\/label>\n\t\t\t<input type=\"text\" id=\"event_street\" name=\"event_street\" class=\"input\" value=\"\" \/>\n\t\t<\/p>\n\t\t<p>\n\t\t\t<label for=\"event_street2\">Street Address (2)<\/label>\n\t\t\t<input type=\"text\" id=\"event_street2\" name=\"event_street2\" class=\"input\" value=\"\" \/>\n\t\t<\/p>\n\t\t<p>\n\t\t\t<label for=\"event_phone\">Phone<\/label>\n\t\t\t<input type=\"text\" id=\"event_phone\" name=\"event_phone\" class=\"input\" value=\"\" \/>\n\t\t<\/p>\n\t\t<p>\n\t\t\t<label for=\"event_city\">City<\/label><input type=\"text\" id=\"event_city\" name=\"event_city\" class=\"input\" value=\"\" \/><\/p>\n\t\t<p>\n\t\t\t<label for=\"event_state\">State\/Province<\/label><input type=\"text\" id=\"event_state\" name=\"event_state\" class=\"input\" value=\"\" \/><\/p>\n\t\t<p>\n\t\t\t<label for=\"event_postcode\">Postal Code<\/label><input type=\"text\" id=\"event_postcode\" name=\"event_postcode\" class=\"input\" value=\"\" \/><\/p>\n\t\t<p>\n\t\t\t<label for=\"event_country\">Country<\/label><input type=\"text\" id=\"event_country\" name=\"event_country\" class=\"input\" value=\"\" \/><\/p>\n\t\t<p>\n\t\t\t<label for=\"event_url\">Location URL<\/label>\n\t\t\t<input type=\"text\" id=\"event_url\" name=\"event_url\" class=\"input\" value=\"\" \/>\n\t\t<\/p>\n\t\t\t\t\t\t<\/div><p><input type='submit' class='button-primary mc-submit' name='draft' value='Submit your event' \/><\/p>\n\t<\/form>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":10,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_mc_calendar":[],"footnotes":""},"class_list":["post-2244","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/pages\/2244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/comments?post=2244"}],"version-history":[{"count":0,"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/pages\/2244\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.providencecatholic.org\/harvest-drive\/wp-json\/wp\/v2\/media?parent=2244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}