The catalog
The library blends two sources:
- Bundled catalog - templates shipped in
bundled/<key>/, available offline. - Cloud catalog - hosted templates at
https://templates.orravo.com/api/v1/catalog, cached locally.
Bundled templates
Every folder under bundled/ is one template. Examples:
agency-northwind,editorial-classic,blog-drift,comparison-pulsefurnace-and-folio,hammer-hide,lantern-quarter,lattice-counsellms-beacon,local-harbor,meridian-health-v2,nightform-recordingsnonprofit-roots,podcast-echo,portfolio-atelier,realestate-plotrestaurant-forge,saas-luma,voyager-society,marrowfield-botanical,mercer-glass
Each folder contains a manifest with title, summary, required plugins, and the pages payload.
Cloud catalog
Orv_Tpl_Fetcher::cloud_catalog( $force = false ) calls GET {ORV_TPL_API_BASE}/catalog via wp_remote_get and caches the response with Orv_Tpl_Cache (12-hour TTL by default).
Cache
Orv_Tpl_Cache is a thin wrapper around WP transients. The cache key includes the plugin version, so a plugin upgrade automatically invalidates everything:
phpOrv_Tpl_Cache::get( $name );
Orv_Tpl_Cache::set( $name, $value, $ttl );
Orv_Tpl_Cache::delete( $name );
Orv_Tpl_Cache::flush_all(); // wipes every key prefixed orv_tpl_Cloud opt-out
If you do not want network calls, hit POST /orravo-templates/v1/cloud-optout (admin-only). The plugin then only returns bundled templates.

