Skip to main content

Page templates

There are a variety of page templates available for use in the Learning lab. default page template will work for most pages, there are other options available. Page templates can be selected in the Page attributes box.

In addition to the page templates you can choose from in the page attributes box, some templates are automatically applied based on their file names. These include:

  • Home Page Template: This is a special design used for the homepage of the website.
  • Search Page Template: This template is used to display search and keywords.
  • Redirect 404 Template: This handles pages not found (404 errors) and is turned into a 404.html page when the site is published.

Default template

picostrap5-child-base/page.php

All content pages will use this template. It contains:

  • Header
  • Breadcrumbs
  • Content (including title)
  • Right navigation
  • Previous and next page buttons
  • Additional resources (an html content area for additional links)
  • Keywords
  • Footer

For screens wider than 1400px, the content is 856px wide, and the nav is 392px wide.

Empty page template

picostrap5-child-base/page-templates/empty.php

This template shouldn't be used very often. It's currently being used for the Kitchen Sink. It contains:

  • Header
  • Content (title is excluded, needs to be added manually)
  • Footer

For screens wider than 1400px, the content is 1296px wide.

First content page

picostrap5-child-base/page-templates/first-content-page.php

Used for the last content page in a section. It omits the previous button and prevents a transition from one content area (Referencing to Art and Design for instance). It contains:

  • Header
  • Breadcrumbs
  • Content (including title)
  • Right navigation
  • Next page button
  • Additional resources (an html content area for additional links)
  • Keywords
  • Footer

For screens wider than 1400px, the content is 856px wide, and the nav is 392px wide.

Landing page

picostrap5-child-base/page-templates/landing.php

Used for landing pages. Examples include Writing fundamentals, Maths and statistics and Referencing. It contains:

  • Header
  • Home breadcrumb
  • Content (including title)
  • Footer

For screens wider than 1400px, the content is 1296px wide.

Last content page

picostrap5-child-base/page-templates/last-content-page.php

Used for the last content page in a section. It omits the next button and prevents a transition from one content area (Referencing to Art and Design for instance). It contains:

  • Header
  • Breadcrumbs
  • Content (including title)
  • Right navigation
  • Previous page button
  • Additional resources (an html content area for additional links)
  • Keywords
  • Footer

For screens wider than 1400px, the content is 856px wide, and the nav is 392px wide.

No side nav

picostrap5-child-base/page-templates/no-side-nav.php

This template is an alternative to Landing page. It might be used if there's additional text accompanying the list of links provided. While the side nav is omitted, the content retains the same width as the default page template, ensuring a good line length. Art and design is a good example of this.

This template has:

  • Header
  • Breadcrumbs
  • Content (including title)
  • Additional resources (an html content area for additional links)
  • Keywords
  • Footer

For screens wider than 1400px, the content is 856px wide.


Keywords