{"id":1451,"date":"2025-12-18T18:38:34","date_gmt":"2025-12-19T00:38:34","guid":{"rendered":"https:\/\/docs.joedolson.com\/my-calendar\/?p=1451"},"modified":"2025-12-18T18:38:37","modified_gmt":"2025-12-19T00:38:37","slug":"disabling-legacy-templates","status":"publish","type":"post","link":"https:\/\/docs.joedolson.com\/my-calendar\/disabling-legacy-templates\/","title":{"rendered":"Disabling Legacy Templates"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you have previously enabled custom templates for core functions, then enable PHP templates without disabling the legacy templates, your legacy templates will override PHP templates where they exist. This only applies to enabled legacy templates &#8211; so if you have a custom template for your single details view, and want to use PHP templates to customize the grid view, you can do that. However, if you want to create a custom PHP template to replace that single view, the legacy template will need to be disabled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Disable PHP Templating<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The settings for legacy templating are only available with PHP templating disabled, so you&#8217;ll need to disable PHP templating at <code>My Calendar > Settings > Display.<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Browse to custom templates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Find the custom template settings at <code>My Calendar > Design > Templates<\/code>. Disable any legacy templates you don&#8217;t need.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"325\" src=\"https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image.png\" alt=\"Screenshot of legacy custom templates with the 'details' template enabled.\" class=\"wp-image-1452\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image.png 812w, https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image-300x120.png 300w, https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image-768x307.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">3. Select the enabled template and disable.<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"300\" src=\"https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image-1.png\" alt=\"Screenshot showing the checkbox to disable using a custom legacy template.\" class=\"wp-image-1453\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image-1.png 842w, https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image-1-300x107.png 300w, https:\/\/docs.joedolson.com\/my-calendar\/wp-content\/uploads\/sites\/3\/2025\/12\/image-1-768x274.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When you click through on the template title, you can uncheck the &#8216;Use this template&#8217; option, then save settings to disable the template.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Re-enable PHP templates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once legacy templates are disabled, the related PHP templates will be used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have previously enabled custom templates for core functions, then enable PHP templates without disabling the legacy templates, your legacy templates will override PHP templates where they exist. This only applies to enabled legacy templates &#8211; so if you have a custom template for your single details view, and want to use PHP templates [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[],"class_list":["post-1451","post","type-post","status-publish","format-standard","hentry","category-accessibility"],"_links":{"self":[{"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts\/1451","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/comments?post=1451"}],"version-history":[{"count":1,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts\/1451\/revisions"}],"predecessor-version":[{"id":1454,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/posts\/1451\/revisions\/1454"}],"wp:attachment":[{"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/media?parent=1451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/categories?post=1451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar\/wp-json\/wp\/v2\/tags?post=1451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}