Pages, mastheads, and templates
The orv_page CPT
Registered in Orv_PB_CPT::register():
- Post type:
orv_page - Public, but hidden from the WP menu (
show_in_menu => false) because it lives under Orravo Theme > Pages - Rewrite slug:
orv(so URLs look like/orv/your-page/) - Supports:
title,revisions
Use orv_page for layout-driven landing pages, sales pages, and editorial features that should not appear in the standard Pages list.
Mastheads
Every builder page gets exactly one masthead, stored in _orv_pb_masthead. Pick from:
- Pillar - dark, series label, large title, subtitle, meta tags, optional subnav
- Series - full-screen dark masthead with background overlay
- Standard - clean dark masthead with breadcrumb
- Landing - radial gold glow, larger headline
- Minimal - simple light masthead for utility pages
Section JSON
Sections live in _orv_pb_sections as an array. Each entry has a type matching a registered section and a flat key-value map for its fields:
php[
[ 'type' => 'intro_prose', 'eyebrow' => 'Hello', 'title' => 'A page', 'body' => 'Welcome.' ],
[ 'type' => 'stats_bar', 'stats' => [ /* ... */ ] ],
]Page templates
The template_include filter intercepts:
- Any
is_singular( 'orv_page' )request - servespage-orv.php. - Any standard page with
_orv_pb_sectionsmeta, or templatepage-orv.php, orpage-orv-builder.php- also servespage-orv.php.
This is what lets a regular page act as a builder page without you choosing the template manually.

