Lifestyle Blog

Import the Lifestyle Blog design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Lifestyle Blog and meet a block you cannot find in the main reference.

These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.

Content types this design adds

Episodes

canvas_bloom_episode

One item is called a Episode. You will find them in their own admin menu once the design is installed.

  • Editor features: editor, excerpt, page-attributes, thumbnail, title

Each item carries these extra settings on its edit screen:

  • Episode Audio

  • Episode Number

  • Episode Time

Blocks this design adds

Lifestyle Episodes

canvas-core/lifestyle-episodes

Podcast episodes as numbered rows with a guest line and a compact player, or the episode page heading. In the block inserter it is named Canvas Lifestyle Episodes.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Lifestyle Episodes settings in the block editor sidebar

Layout

  • LayoutDefaultEpisode Rows

    Episode Rows lists episodes. Episode Page Heading shows the current episode's title, lead and player, for the episode page template.

    ChoicesEpisode RowsEpisode Page Heading

Query

  • EpisodesDefault0

    How many episodes to list. 0 shows every episode.

    Shown when Layout is "Episode Rows"

  • Order ByDefaultDate

    What to sort the episodes by.

    ChoicesDateMenu OrderTitleShown when Layout is "Episode Rows"

  • OrderDefaultDescending

    Read the sort order forwards or backwards. Newest first is Date, Descending.

    ChoicesAscendingDescendingShown when Layout is "Episode Rows"

Card

  • Number FormatDefaultEP. %s

    How the episode number reads, such as EP. 42. Use %s where the number goes.

  • Title TagDefaulth4

    Heading level for the episode titles.

    Choicesh1h2h3h4h5h6Shown when Layout is "Episode Rows"

  • Title ClassesDefaulth5 mb-1

    Classes on the episode titles.

    Shown when Layout is "Episode Rows"

  • Guest Line ClassesDefaultmb-2

    Classes on the line under the title, which is the episode excerpt.

    Shown when Layout is "Episode Rows"

  • Play Button LabelDefaultPlay episode

    Screen reader label of the play button.

Single

  • Eyebrow TextDefaultEmpty

    Small line above the episode title, followed by the episode number. Empty shows the number alone.

    Shown when Layout is "Episode Page Heading"

  • Episode Title ClassesDefaultdisplay-5 mb-4

    Classes on the episode page title, which is the page's h1.

    Shown when Layout is "Episode Page Heading"

  • Lead ClassesDefaultlead mb-5

    Classes on the lead paragraph, which is the episode excerpt.

    Shown when Layout is "Episode Page Heading"

Was this page helpful?