{"id":317,"date":"2021-11-02T04:42:33","date_gmt":"2021-11-02T09:42:33","guid":{"rendered":"https:\/\/docs.joedolson.com\/my-calendar\/?p=317"},"modified":"2026-08-18T16:10:10","modified_gmt":"2026-08-18T21:10:10","slug":"my-calendar-design-scripts","status":"publish","type":"post","link":"https:\/\/docs.joedolson.com\/my-calendar\/my-calendar-design-scripts\/","title":{"rendered":"Design &#8211; Scripts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Scripts is located under <code>My Calendar &gt; Design &gt; Scripts<\/code>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"410\" src=\"https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2021\/11\/image-23.png\" alt=\"Screenshot showing the 'Scripts' tab selected on the Design screen. Shows options to adjust Grid, List, and Mini calendar view scripts.\" class=\"wp-image-1656\" style=\"width:578px;height:auto\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2021\/11\/image-23.png 580w, https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2021\/11\/image-23-300x212.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Disabling scripts <strong>will <\/strong>break calendar interactions. This feature is intended for advanced users who wish to provide their own custom scripting.<\/p>\n\n\n\n<h2 id=\"script-manager\" class=\"wp-block-heading\">Script Manager<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Insert scripts on these pages (comma separated post IDs) <\/strong><br>Find the ID for the WordPress page the calendar is on and add it into the field. This will restrict scripts from loading on other pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: The disclosure widget option will be removed in version 3.8.<\/em><\/p>\n\n\n\n<h3 id=\"disable-grid-js\" class=\"wp-block-heading\">Grid JS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Disable: <\/strong>No JS will be run. Unless also disabled, the event popup in the calendar will automatically show the popup containing an event. Disable the popup by selecting a link action for Calendar Links under <code>Settings &gt; Display<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Modal: <\/strong>Open the Event popup in a modal dialog. Contains the event selected. (Available since My Calendar 3.4.)<\/p>\n\n\n\n<h3 id=\"disable-list-js\" class=\"wp-block-heading\">List JS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Disable: <\/strong>No JS will be run. Events will be expanded in the List view.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Modal: <\/strong>Open the Date popup in a modal dialog. The Date popup contains all events scheduled for that date.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Toggle Event Details:<\/strong> Expand the events in the list below the selected date.<\/p>\n\n\n\n<h3 id=\"disable-mini-js\" class=\"wp-block-heading\">Mini JS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Disable: <\/strong>No JS will be run. Unless also disabled, the date popup in the calendar will automatically show the popup containing all events for that date. Disable the popup by selecting a link action for the mini calendar under <code>Settings &gt; Display<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Modal: <\/strong>Open the Date popup in a modal dialog. The Date popup contains all events scheduled for that date.<\/p>\n\n\n\n<h3 id=\"disable-ajax\" class=\"wp-block-heading\">Disable AJAX<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">By default, all navigation actions on the main calendar views are performed using AJAX. When disabled, all navigation will trigger a new page load.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scripts is located under My Calendar &gt; Design &gt; Scripts. Disabling scripts will break calendar interactions. This feature is intended for advanced users who wish to provide their own custom scripting. Script Manager Insert scripts on these pages (comma separated post IDs) Find the ID for the WordPress page the calendar is on and add [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-317","post","type-post","status-publish","format-standard","hentry","category-design"],"_links":{"self":[{"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":11,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts\/317\/revisions"}],"predecessor-version":[{"id":1659,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts\/317\/revisions\/1659"}],"wp:attachment":[{"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/media?parent=317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/categories?post=317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/tags?post=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}