{"id":11702,"date":"2025-02-21T12:03:11","date_gmt":"2025-02-21T12:03:11","guid":{"rendered":"https:\/\/child-development.org.il\/?page_id=11702"},"modified":"2025-09-19T06:33:16","modified_gmt":"2025-09-19T06:33:16","slug":"course-calendar","status":"publish","type":"page","link":"https:\/\/child-development.org.il\/en\/course-calendar\/","title":{"rendered":"course-calendar"},"content":{"rendered":"    <style type=\"text\/css\">\r\n        .fc-event-main a { color: #202020 !important; }\r\n    <\/style>\r\n    <div id=\"llms-custom-calendar\" data-view=\"month\"><\/div>\r\n    <script>\r\n        document.addEventListener('DOMContentLoaded', function () {\r\n            var calendarEl = document.getElementById('llms-custom-calendar');\r\n            if (!calendarEl || typeof FullCalendar === 'undefined') {\r\n                return;\r\n            }\r\n            var calendar = new FullCalendar.Calendar(calendarEl, {\r\n                initialView: calendarEl.getAttribute('data-view') === 'list' ? 'listWeek' : 'dayGridMonth',\r\n                events: function (fetchInfo, successCallback, failureCallback) {\r\n                    var url = llmsCalendarData.ajax_url\r\n                        + '?action=llms_cal_get_events&_wpnonce=' + encodeURIComponent(llmsCalendarData.nonce);\r\n                    fetch(url, { credentials: 'same-origin' })\r\n                        .then(function (response) {\r\n                            if (!response.ok) {\r\n                                throw new Error('Request failed: ' + response.status);\r\n                            }\r\n                            return response.json();\r\n                        })\r\n                        .then(successCallback)\r\n                        .catch(failureCallback);\r\n                },\r\n                eventContent: function (arg) {\r\n                    var link = document.createElement('a');\r\n                    link.href = arg.event.url ? arg.event.url : '#';\r\n                    link.innerText = arg.event.title;\r\n                    return { domNodes: [link] };\r\n                }\r\n            });\r\n            calendar.render();\r\n        });\r\n    <\/script>\r\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-11702","page","type-page","status-publish","hentry"],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"lifterlms_certificate_background":false,"llms_notification_icon":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"rocket","author_link":"https:\/\/child-development.org.il\/en\/author\/rocket\/"},"uagb_comment_info":0,"uagb_excerpt":null,"_links":{"self":[{"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/pages\/11702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/comments?post=11702"}],"version-history":[{"count":0,"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/pages\/11702\/revisions"}],"wp:attachment":[{"href":"https:\/\/child-development.org.il\/en\/wp-json\/wp\/v2\/media?parent=11702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}