Single Post & Archive Templates
Single Post Title (Page Hero)
GP Element: ID 3663 — #Single Post Title
Renders above each documentation post:
<!-- Breadcrumbs with Rank Math -->
<div class="breadcrumb">Code / Git Quick Reference</div>
<!-- Post title as H1 -->
<h1>Git Quick Reference</h1>
<!-- Meta line: Author badge icon + name | dot divider | date -->
<div class="opshell-meta-line">
<span>by <a href="/author/admin/">Admin</a></span>
<span>updated Jul 20, 2026</span>
<span>2 min read</span>
</div>
The template uses GenerateBlocks dynamic data sources:
- Breadcrumbs are from Rank Math / SEOPress.
- Title is
post-titledynamic content. - Author uses
author-namewithauthor-archiveslink. - Date uses
post-datedynamic content.
Single Post Content
GP Element: ID 1371 — #Single Post Content
Renders the main content area:
- Featured image (if set, with caption).
- Post content via
the_content(handled by GeneratePress dynamic content block). - Tags listing.
- Related posts (query loop using
order_by_relatedclass, filtered by same category). - Comments section.
The content wrapper uses a centered 768px column with responsive padding.
Archive Template
GP Element: ID 863 — #Archive Template
Standard archive layout with:
- Archive title bar (category name, search query, etc.).
- Post loop using the #Archive Post Layout card.
Archive Post Layout
GP Element: ID 3584 — #Archive Post Layout
Each archive post card in the loop:
┌──────────────────────────────────────────────────────────┐
│ ┌──────────────────┐ ┌────────────────────────────────┐ │
│ │ Featured image │ │ Post title (H2, linked) │ │
│ │ (thumbnail) │ │ Excerpt (80 words) │ │
│ │ │ │ — date │ │
│ └──────────────────┘ └────────────────────────────────┘ │
└──────────────────────────────────────────────────────────┘
404 Template
GP Element: ID 2140 — 404 Layout
Custom centered 404 page with navigation support.