Pages and Layouts
This page explains how standard pages work in the theme and how editors should compose them.
How Standard Pages Are Rendered
Section titled “How Standard Pages Are Rendered”Normal WordPress pages use the theme page template.
That template automatically adds:
- a page title section
- a sidebar area
- the main page content
- optional top and bottom content slots if the page uses the dedicated layout block
The Page Title Section
Section titled “The Page Title Section”Each page includes a side meta box named Page Title Section.
It provides:
SupertitleSubtitle(optional)
These values are separate from the normal page title and are used by the theme’s title section templates.
Sidebar Behavior
Section titled “Sidebar Behavior”The sidebar on standard pages shows two things:
- An automatic table of contents.
- Quick Links entered by the editor.
Automatic Table of Contents
Section titled “Automatic Table of Contents”The sidebar area titled In questa pagina / In this page is generated from h2 headings found in the main page content.
Important rules:
- Direct
h2headings inside the main content area are included automatically. - Headings marked with the
include-in-tocclass are also included. - The Course Program Display block can add itself to the table of contents when its title is enabled.
If a page has no qualifying headings, the table of contents will remain empty.
Quick Links
Section titled “Quick Links”Quick Links are managed in the page-side editor panel.
Each quick link includes:
- label,
- URL,
- optional “open in new tab” flag.
These links appear below the automatic table of contents in the page sidebar.
See Editor Panels and Sidebar Tools.
The Page Layout - 3 Slots Block
Section titled “The Page Layout - 3 Slots Block”This is the main structured page layout block for advanced pages.
It creates three content areas:
Top slotMain slotBottom slot
Where Each Slot Appears
Section titled “Where Each Slot Appears”Top slot: above the page gridMain slot: inside the main content columnBottom slot: below the page grid and above the footer
Allowed Content Per Slot
Section titled “Allowed Content Per Slot”Top slot: designed forFull-width BannerMain slot: standard editorial content plus selected Polimi blocksBottom slot: designed forFull-width Banner
When To Use It
Section titled “When To Use It”Use the 3-slot layout when you want:
- a banner above the page content
- a controlled main content structure
- a banner above the footer
If you do not need the top or bottom banner areas, a normal page with regular Gutenberg content is simpler.
Recommended Editing Pattern For Standard Pages
Section titled “Recommended Editing Pattern For Standard Pages”- Set the featured image if the page should use the image-based title section.
- Fill in the Page Title Section meta box.
- Decide whether the page needs Quick Links.
- Add
h2headings for sections that should appear in the sidebar table of contents. - Use Polimi blocks only where they improve structure or consistency.