Editorial Hero

Prev Next

Editorial purpose

Displays a large hero card (squared, 2:3 or 3:4) showing editorial content from a selection or from entity type and tags. With more than one item it becomes a swipeable pager with a page indicator; tapping the card opens the content.

Supported entities

The module can render the following custom entity types:

  • YouTube Videos

  • Promos

  • Events

  • Vesper Vod Videos

  • Vesper Live Event Videos

  • Vesper Playlist

  • Vesper Series

  • Vesper Season

The module can also render the story and album entities.

Optional source entity

The selection entity is used only when selectionSlug is configured; otherwise, content is loaded through entityType and tags.

Parameters

Visual

Label

Type

Description

Hide Module

Toggle

Hide the module.

Color Schema

Selection

Select the module's color scheme.

Options: light (Light); dark (Dark).

Hide Date

Toggle

Hide the dates displayed on content cards.

hideDate hides the card dates and colorSchema forces the light or dark color scheme.

Card Format

Selection

Card format used to render the hero items.

Options: squared (Squared (1:1)); portrait2x3 (Portrait (2:3)); portrait3x4 (Portrait (3:4)).

cardFormat is squared (default), portrait2x3 or portrait3x4; on tablets the items are shown as landscape cards.

Remove Spacing Top

Toggle

Remove the spacing above the module.

Remove Spacing Bottom

Toggle

Remove the spacing below the module.

Data

Label

Type

Description

Skip

Number

Set the number of items to skip before displaying results.

Use skip and limit to choose the items; more than one item turns the hero into a pager.

Limit

Number

Set the maximum number of items to display.

Selection Slug

Text

Set the Selection entity slug.

In the content picker, search by slug and select selection content.

Load items from selectionSlug, or from entityType plus tags when no selection is set.

The hero card shows the content badge, title and subtitle; status badges (live, upcoming, sign in, subscribe) and the bookmark action appear only on the landscape cards used on tablets.

Create link rules for the content types shown so the hero opens their detail pages; a promo opens the link set on the promo instead.

Lazy Load

Toggle

Load the module's content after it appears on screen.

With lazyLoad on, content loads when the module scrolls into view, with a placeholder shown meanwhile.

Alternative filters

Label

Type

Description

Entity Type

Selection

Select the content entity type.

Options: stories (Stories); albums (Albums); youtubevideos (YouTube Videos); promos (Promos).

Tags

List of tags

Set the tag slugs used to filter content.

In the content picker, search by slug and select tag content.

Required variables

Configure the following variables in Page Builder for the page to render correctly:

  • image_placeholder: Image shown on cards whose content has no image of its own.