Templates & Template Parts
The Full-Site-Editing template and parts layer — dedicated event templates plus a federal mega menu, resource menu, and crisis-line system.
What it does
Every page type is composed from block templates and reusable template parts: index, category, search, and 404 templates, dedicated archive and single templates for an events post type, and shared parts for the header, footer, mega menu, resource menu, and a crisis-line modal. Global chrome is defined once and rendered everywhere.
Why it exists
Templates and parts are where a platform’s structure is either centralized or scattered across pages. Defining them in the theme means a change to the header or footer propagates instantly, and specialized content such as events gets first-class templates instead of being forced into a generic layout that editors have to work around.
Engineering considerations
The theme provides Full-Site-Editing templates backed by registered post-type support and query-loop patterns for listing content, with template parts factored so the header, footer, and navigation are maintained in a single place. Federal requirements — a persistent resource menu, a crisis-line modal, and an accessible mega menu with a separate mobile implementation — are modeled as parts and supporting scripts, keeping them structural rather than duplicated per page.