Chatbot
Import the Chatbot 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 Chatbot 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
Bot Templates
canvas_chatbot_tpl
One item is called a Bot Template. You will find them in their own admin menu once the design is installed.
- Editor features: custom-fields, editor, excerpt, page-attributes, title
Each item carries these extra settings on its edit screen:
Channels Covered
Tpl Handles
Tpl Icon
Tpl Integrations
Bot Resolution Rate
Setup Time
Conversation Steps
Tpl Use Case
Blocks this design adds
Bot Templates
canvas-core/chatbot-templates
Show the bot templates from the Templates post type as icon cards, or render the pieces of a single template page (title and call to action, stat rows, more templates). In the block inserter it is named Canvas Bot Templates.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultTemplate Cards
Which part of the template design this block draws. Template Cards lists the library; each "Single Template" choice renders one section of the template page you place it on.
ChoicesTemplate CardsSingle Template - Title and Call to ActionSingle Template - Stat RowsSingle Template - More Templates
Query
TemplatesDefault
00 shows every template. The More Templates layout shows three when this is left at 0.
Order ByDefaultMenu Order
What decides the sequence of the cards. Menu Order lets you arrange them by hand on the templates 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 gutter between them is set.
Column ClassesDefault
col-lg-4 col-md-6Column classes on each card: how many cards sit side by side at each screen width.
Card ClassesDefault
bd-feature-cardClass names on the card itself, which set its background, border and padding.
Icon Badge ClassesDefault
bd-feature-iconClass names on the square badge around the icon. Leave empty to draw the icon with no badge.
Title ElementDefaulth4
Which heading level each card title uses, so the page keeps one sensible outline.
Choicesh2h3h4h5
Title Link ClassesDefault
text-resetClass names on the link inside each card title. The default keeps the title in the card's own heading colour.
Integrations Line ClassesDefault
bd-integration-pillClass names on the line under the description that names the tools a template connects to. Leave empty to hide the line.
Record Identity ClassesDefaultOn
Add WordPress's own per-record classes (post id, type, status) to each card column.
Single
Templates Page SlugDefault
templatesSlug of the page that lists every template. The single layouts resolve it to a portable permalink for the use-case line. Empty = no link.
Template Title ClassesDefault
bd-section-h2 mt-1 mb-3Class names on the template name at the top of its own page.
Shown when Layout is "Single Template - Title and Call to Action"
Description ClassesDefault
bd-plan-descClass names on the short description under the title.
Shown when Layout is "Single Template - Title and Call to Action"
Checklist ClassesDefault
bd-check-list mb-4Class names on the list of what the template handles. Leave empty to hide the list.
Shown when Layout is "Single Template - Title and Call to Action"
Button TextDefault
Use this templateWording on the button under the checklist. Leave empty for no button.
Shown when Layout is "Single Template - Title and Call to Action"
Button Page SlugDefault
free-trialSlug of the page the button opens. Resolved to a portable permalink so the link is correct on any install or import.
Shown when Layout is "Single Template - Title and Call to Action"
Button ClassesDefault
btn-bd-primaryClass names that set the look of the button.
Shown when Layout is "Single Template - Title and Call to Action"
Stat Row ClassesDefault
bd-stat-rowClass names on each stat row, which draw the rule between rows.
Shown when Layout is "Single Template - Stat Rows"
Stat Label ClassesDefault
bd-stat-labelClass names on the label at the start of each row.
Shown when Layout is "Single Template - Stat Rows"
Stat Value ClassesDefault
bd-stat-value bd-stat-value--tealClass names on the figure at the end of each row.
Shown when Layout is "Single Template - Stat Rows"

