Abuja Digital Studio · Est. 2018
Start a Project
DocsOrravo Page BuilderThe section library
Reference

The section library

Orravo Page Builderorravo.com/docs/orravo-page-builder/section-library

The section library

How section types are organized

Section definitions live in includes/:

  • class-orv-pb-sections.php - core editorial sections (mastheads, prose, stats, quotations, accordions)
  • class-orv-pb-sections-marketing.php - marketing sections (heroes, feature strips, split screens, sticky media, alternating rows)
  • class-orv-pb-sections-woo.php - WooCommerce sections (product grids, single-product, cart)
  • class-orv-pb-sections-plugins.php - sections that wrap an Orravo plugin (forms, mailer, feedback)
  • class-orv-pb-sections-imported.php - sections imported by third-party plugins through filters

Every type registers a slug, label, icon, color, description, and a fields array. The full list is filtered through orv_pb_section_types so plugins like Orv Demos Pack v3 can add their own.

Example types

  • Mastheads: pillar, series, standard, landing, minimal
  • Marketing: hero_video_bg, hero_split_with_form, feature_strip_alternating, sticky_media_section, split_screen, flex_grid, row_columns
  • Editorial: intro_prose, stats_bar, comparison_entry, subnav, quotation, accordion

Adding your own section type

Attach to the documented filter:

phpadd_filter( 'orv_pb_section_types', function ( array $types ): array {
    $types['your_section'] = [
        'label'  => 'Your Section',
        'icon'   => '#',
        'color'  => '#2A6FB0',
        'desc'   => 'What it looks like.',
        'fields' => [
            [ 'key' => 'title', 'label' => 'Title', 'type' => 'text' ],
            [ 'key' => 'body',  'label' => 'Body',  'type' => 'textarea' ],
        ],
    ];
    return $types;
} );

Then render it through the matching filter orv_pb_render_section.

The section library · Orravo Page Builder Docs | Orravo