Template Hierarchy
As a Full Site Editing block theme, AlonePro uses HTML block templates (templates/*.html) and template parts (parts/*.html) rather than legacy PHP template files (page.php, single.php, header.php).
Template Resolution Flow in Child Themes
When WordPress renders an FSE page:
- WordPress checks the active child theme (
alonepro/templates/oralonepro/parts/). - If found, the child theme file is loaded.
- If not found in the child theme, WordPress falls back to the parent theme (
nextora/templates/ornextora/parts/). - Any user customizations saved via the Site Editor in the WordPress database (
wp_templatecustom post type) take precedence over both filesystem files.
AlonePro Templates (templates/*.html)
AlonePro ships with 15 production-ready block templates:
| Template File | Template Title | Usage / Hierarchy Role |
|---|---|---|
front-page.html | Front Page | Dedicated static homepage template. |
home.html | Blog Home | Latest blog posts index. |
index.html | Fallback Index | Universal fallback template for all unassigned queries. |
page.html | Page | Standard default page layout. |
page-container.html | Page — Container | Centered container page with padded layout bounds. |
page-full-width.html | Page — Full Width | Edge-to-edge layout without side constraints. |
about-us.html | About Us | Specialized organizational profile template. |
contact-us.html | Contact Us | Location, office hours, and contact form layout. |
frequently-asked-questions.html | FAQ | Question-and-answer accordion section layout. |
theme-terms-conditions.html | Terms & Conditions | Legal terms document structure. |
theme-privacy-policy.html | Privacy Policy | Donor and visitor privacy compliance layout. |
single.html | Single Post | Individual blog post layout with comments and metadata. |
archive.html | Archive | Category, tag, author, and date archive listings. |
search.html | Search Results | Query results layout with search summary header. |
404.html | 404 Error | Not-found page with helpful navigation and search form. |
Template Parts (parts/*.html)
Template parts are reusable layout blocks. AlonePro provides:
header-v2.html: Split navigation header with logo, navigation links, and prominent "Donate Now" CTA button.footer-4-columns.html: Comprehensive 4-column charity footer with mission bio, fast links, campaign links, and legal copy.footer-4-columns-newsletter.html: 4-column footer featuring an integrated email newsletter subscription form.
Overriding Parent Template Parts
To override any template part from Nextora, simply create a file with the identical name in wp-content/themes/alonepro/parts/<name>.html. WordPress will automatically load your child version.
Registering Custom Templates in theme.json
AlonePro registers custom page templates in theme.json under customTemplates:
{
"customTemplates": [
{
"name": "page-container",
"title": "Page — Container",
"postTypes": [ "page" ]
}
]
}Once registered, the template appears in the Template dropdown within the WordPress Page attributes panel.