{"id":28,"date":"2025-09-26T08:50:48","date_gmt":"2025-09-26T08:50:48","guid":{"rendered":"https:\/\/ska-blocks.com\/docs\/2025\/09\/26\/template-parts\/"},"modified":"2025-09-26T09:42:41","modified_gmt":"2025-09-26T09:42:41","slug":"template-parts","status":"publish","type":"post","link":"https:\/\/ska-blocks.com\/docs\/template-parts\/","title":{"rendered":"Template parts"},"content":{"rendered":"\n<p>ska-theme ships with the following template parts:<\/p>\n\n\n\n<ul class=\"[&amp;&gt;li]:flex [&amp;&gt;li]:flex-col [&amp;&gt;li]:items-start space-y-3.5 [&amp;_.header]:text-lg\/tight [&amp;_.description]:text-sm\/tight [&amp;_.header]:font-semibold [&amp;_.description]:text-site-subtext wp-block-ska-element not-prose\">\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">header<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Page header &#8211; by default includes a kitchen sink of anything you may want to render in the header, such as a top bar, logo, site title, horizontal menu, language switcher, mini cart, search button, hamburger menu, sticky functionality &#8211; simply remove any blocks you don&#8217;t wish to use and edit the Tailwind classes to style the header.<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">footer<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Page footer<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">backdrop<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Page dimmer shown when opening dialogs<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">consent<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Cookie notice message<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">to-top<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Back to top button that can be enabled from theme options<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">search-dialog<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Search form with autocomplete in a full page overlay that can be enabled from theme options<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">search-form<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Search form displayed when there are no posts in a loop or on a 404 page<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">mobile-menu<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Menu shown to mobile users<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">post-navigation<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Displays previous\/next post<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">related-posts<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Displays related posts<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">under-construction<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Rendered when the page is in under construction mode and the user is not logged in<\/span>\n<\/li>\n\n\n\n<li class=\"wp-block-ska-element\">\n<span class=\"wp-block-ska-text ska-text header\">toast<\/span>\n\n\n\n<span class=\"wp-block-ska-text ska-text description\">Displays messages to users on the front end, can be enabled from theme options<\/span>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>ska-theme ships with the following template parts:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-ska-theme"],"_links":{"self":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":1,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":221,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/28\/revisions\/221"}],"wp:attachment":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}