Core Helper Functions
Included globally viabase.php, these helpers (squeditor/php/functions.php) prevent you from writing raw include statements everywhere.
get_template_part()
Includes structural components from src/template-parts/.
get_component()
Includes UIKit3 layout wrappers from src/components/.
get_section()
Includes standalone section blocks from src/sections/. This is extremely useful for reusable sections (e.g. Hero, Testimonials) across multiple URLs.
Parsing Frontmatter
To natively handle SEO and layout overrides on a per-page basis inside standard.php files, Squeditor uses a custom frontmatter syntax driven by a PHP comment block at the very top of each page.
Example src/pages/about.php:
Base Layout Template
src/page-templates/base.php acts as the master HTML shell. Every page extends it natively. It handles the <head>, metadata, linking the CSS/JS bundles, and injecting the $content variable correctly.
base.php