Getting started
After activation, open Orravo Theme > Templates (or top-level Orravo Templates). The library is a single-page UI with a card grid of every available template.
First import
- Browse the cards. Each shows title, category, summary, and required plugins.
- Click Preview to load the template on the live theme without writing any posts.
- Click Import to create real
orv_pageposts for the template's pages. - The card shows Imported once it lands.
What import actually does
The importer (Orv_Tpl_Importer::import) does three things:
- Reads the template manifest from
bundled/<key>/or the cloud catalog. - Side-loads every remote image referenced by the manifest into the WP Media Library via
Orv_Image_Sideloader. - Inserts one
orv_pagepost per page in the template with_orv_pb_sectionsand_orv_pb_mastheadmeta. Existing posts with the same_orv_tpl_keyare reused, never duplicated.
Importing partial content
Use the REST routes for finer control:
POST /orravo-templates/v1/template/{key}/page- create one new page from selected sectionsPOST /orravo-templates/v1/template/{key}/append/{post_id}- append selected sections to an existing post
The library UI exposes both behind a section-picker drawer.

