Template parts

ska-theme ships with the following template parts:

  • header Page header – 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 – simply remove any blocks you don’t wish to use and edit the Tailwind classes to style the header.
  • footer Page footer
  • backdrop Page dimmer shown when opening dialogs
  • consent Cookie notice message
  • to-top Back to top button that can be enabled from theme options
  • search-dialog Search form with autocomplete in a full page overlay that can be enabled from theme options
  • search-form Search form displayed when there are no posts in a loop or on a 404 page
  • mobile-menu Menu shown to mobile users
  • post-navigation Displays previous/next post
  • related-posts Displays related posts
  • under-construction Rendered when the page is in under construction mode and the user is not logged in
  • toast Displays messages to users on the front end, can be enabled from theme options