Youtube Creator
Import the Youtube Creator 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 Youtube Creator 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
Films
canvas_yt_film
One item is called a Film. You will find them in their own admin menu once the design is installed.
- Editor features: custom-fields, editor, excerpt, page-attributes, thumbnail, title
- Grouped by: Pillars (
canvas_yt_pillar)
Each item carries these extra settings on its edit screen:
Published Line
Runtime
Player Embed URL
View Count
Blocks this design adds
Channel Films
canvas-core/yt-films
Films from the Films post type as episode cards: thumbnail, runtime badge, play button, title and the view count. Optionally limited to one content pillar, or set to the related row on a film page. In the block inserter it is named Canvas Channel Films.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultCard Grid
Card Grid lists films. Film Header opens a film page with its pillar, title, view line and player. Related Films drops the film being read and shows its companions from the same pillar, for the row at the foot of a film page. Pillar Header opens a pillar page with that pillar's name and description.
ChoicesCard GridFilm Header (on a film page)Related Films (on a film page)Pillar Header (on a pillar page)
Query
Follow the Pillar Being ViewedDefaultOff
On a pillar page, show that pillar rather than the one named below, so one layout serves every pillar.
Pillar SlugDefaultEmpty
Show only the films in one content pillar, written as its slug. Leave empty to show every film.
Shown when Follow the Pillar Being Viewed is off
FilmsDefault
6How many films the grid shows. 0 shows all of them.
Order ByDefaultMenu Order
What decides the sequence. Menu Order lets you arrange the films by hand on the Films list screen.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Which end of that sequence comes first.
ChoicesAscendingDescending
Display
Row ClassesDefault
row g-4Class names on the row holding the cards, which is where the space between them is set.
Column ClassesDefault
col-lg-4 col-md-6Class names on each card column, which set how many films sit side by side at each screen width.
Card ClassesDefault
cr-vidcardClass names on the card itself, which carry its hover lift and text colour.
Title TagDefaulth3
Heading level of the film title, so the page keeps a sensible outline wherever the grid is placed.
Choicesh2h3h4h5
Thumbnail SizeDefaultFull
Which generated size of the film thumbnail the card loads. The card crops it to widescreen either way.
ChoicesFullLargeMedium LargeMedium
Show Runtime BadgeDefaultOn
The runtime written in the corner of the thumbnail, taken from each film's Duration.
Show Play ButtonDefaultOn
The round play button that fades in over the thumbnail on hover.
Play IconDefault
bi-play-fillGlyph inside the play button.
Shown when Show Play Button is on
Show View Count LineDefaultOn
The line under the title carrying each film's view count and how long ago it went up.
Views IconDefault
bi-eyeGlyph before the view count.
Shown when Show View Count Line is on
Meta SeparatorDefault
·Character drawn between the view count and the published line.
Shown when Show View Count Line is on
Record Identity ClassesDefaultOn
Adds WordPress's own per-record classes to each column, which plugins and custom styling use to reach one film.
Films Page SlugDefault
filmsSlug of the page listing every film. The pillar eyebrow on a film page links to it. Empty = no link.
Film Page Title ClassesDefault
display-4 fw-bold cr-h2 mb-3Class names on the film title at the top of a film page.
Shown when Layout is "Film Header (on a film page)"
Player ClassesDefault
cr-top__playerClass names on the frame around the film player on a film page.
Shown when Layout is "Film Header (on a film page)"
Related HeadingDefault
More from this pillarWording above the related row at the foot of a film page. Empty = no heading.
Shown when Layout is "Related Films (on a film page)"
Pillar EyebrowDefault
The library · one pillarSmall line above the pillar name on a pillar page. Empty = no eyebrow.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Title ClassesDefault
display-4 fw-bold cr-h2Class names on the pillar name at the top of a pillar page.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Description ClassesDefault
text-white-50 mt-3 cr-subClass names on the pillar description beneath its name.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Header Row ClassesDefault
row align-items-end mb-5Class names on the row holding the pillar name and the link beside it.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Name Column ClassesDefault
col-lg-7Class names on the column holding the eyebrow, pillar name and description.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Link Column ClassesDefault
col-lg-5 text-lg-end mt-3 mt-lg-0Class names on the column holding the link back to the full library.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Link TextDefault
Every filmWording of the link back to the films listing. Empty = no link.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Link IconDefault
bi-arrow-up-rightGlyph after the link back to the films listing.
Shown when Layout is "Pillar Header (on a pillar page)"
Pillar Link ClassesDefault
cr-link-arrowClass names on the link back to the films listing.
Shown when Layout is "Pillar Header (on a pillar page)"
Channel Merch
canvas-core/yt-merch
WooCommerce products as merch cards: photograph with a corner badge, product name, short description, price and an add-to-cart link. In the block inserter it is named Canvas Channel Merch.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Query
ProductsDefaultOne product category
Which products the cards show.
ChoicesOne product categoryFeatured productsMost recent products
Category SlugDefaultEmpty
Slug of the product category to show. A slug travels with the demo, so the same grid works after import.
Shown when Products is "One product category"
Number of ProductsDefault
3How many products the grid shows.
Order ByDefaultMenu Order
What decides the sequence of the products.
ChoicesMenu OrderDateNamePrice
OrderDefaultAscending
Which end of that sequence comes first.
ChoicesAscendingDescending
Display
Row ClassesDefault
row g-4Class names on the grid holding the cards, which is where the gutter is set.
Column ClassesDefault
col-lg-4 col-md-6Class names on each card column: how many products sit side by side at each width.
Card ClassesDefault
cr-productClass names on the card itself, which carry its frame and hover lift.
Image SizeDefaultFull
Which generated size of the product image the card shows.
ChoicesFullLargeWooCommerce SingleWooCommerce Thumbnail
Button Icon ClassesDefault
ms-1Utility classes on the button icon: the design spaces it from the wording.
Content
Badge AttributeDefault
BadgeName of the product attribute holding the corner badge wording ("Bestseller", "New drop"). Empty hides the badge.
Badge Style AttributeDefault
Badge StyleName of the product attribute naming the badge colour variant ("new", "limit"). Empty leaves every badge in the default colour.
Show Short DescriptionDefaultOn
The line of copy under the product name, taken from the product's short description.
Show PriceDefaultOn
The product price, written as a bare figure in the store currency.
Price DecimalsDefault
0Decimal places in the price. The design writes whole figures.
Shown when Show Price is on
Add to Cart TextDefault
Add to cartWording on the link that adds the product to the cart.
Add to Cart IconDefault
bi-arrow-rightIcon after the add-to-cart wording.
Sold Out TextDefault
Sold outWording the link takes when the product is out of stock. It then opens the product page instead of the cart.


