Design Blocks
Layout, structure, and design blocks.
core/group
Generic container block.
Attributes:
tagName(string) — HTML tag (div, main, section, article, aside, header, footer)templateLock(string/boolean) — Template lock (all, insert, contentOnly, false)allowedBlocks(array) — Allowed inner blocks
Supports: align, anchor, className, color, spacing, typography, layout, background, dimensions, position, shadow
core/columns
Multi-column layout container.
Attributes:
verticalAlignment(string) — Vertical alignisStackedOnMobile(boolean) — Stack on mobile (default: true)templateLock(string/boolean) — Template lock
Supports: align, anchor, className, color, spacing, layout, typography
core/column
Single column inside columns block.
Attributes:
verticalAlignment(string) — Vertical alignmentwidth(string) — Column widthallowedBlocks(array) — Allowed inner blockstemplateLock(string/boolean) — Template lock
Supports: align, anchor, className, color, spacing, layout, typography
core/buttons
Button group container.
Attributes:
layout(object) — Layout settings
Supports: align, anchor, className, color, spacing, typography, layout
core/button
Single button.
Attributes:
text(rich-text) — Button texturl(string) — Link URLtitle(string) — Title attributelinkTarget(string) — Link targetrel(string) — Link relplaceholder(string) — Placeholderwidth(number) — Width percentage (25, 50, 75, 100)tagName(string) — HTML tag (a, button)type(string) — Button type (submit, reset, button)
Supports: align, anchor, className, color, spacing, typography, shadow, splitting
Styles: fill, outline
core/separator
Horizontal line separator.
Attributes:
opacity(string) — Opacity (css, alpha-channel)
Supports: align, anchor, className, color, spacing
Styles: default, wide, dots
core/spacer
Vertical spacing block.
Attributes:
height(string) — Height (default: 100px)width(string) — Width
Supports: anchor, spacing
core/more
"Read more" break point.
Attributes:
customText(string) — Custom textnoTeaser(boolean) — Hide excerpt
Supports: className, customClassName: false, multiple: false
core/nextpage
Page break for paginated posts.
Attributes: None
Supports: className, customClassName: false
core/navigation
Site navigation menu.
Attributes:
ref(integer) — Navigation menu IDtextColor(string) — Text colorcustomTextColor(string) — Custom text colorbackgroundColor(string) — Background colorcustomBackgroundColor(string) — Custom backgroundoverlayMenu(string) — Overlay mode (never, mobile, always)overlayBackgroundColor(string) — Overlay backgroundoverlayTextColor(string) — Overlay text coloricon(string) — Menu iconhasIcon(boolean) — Show icon (default: true)openSubmenusOnClick(boolean) — Click to open submenusshowSubmenuIcon(boolean) — Show submenu icons (default: true)maxNestingLevel(number) — Max nesting (default: 5)templateLock(string/boolean) — Template lock
Supports: align, anchor, className, typography, spacing, layout, color
core/navigation-link
Navigation menu link item.
Attributes:
label(rich-text) — Link texttype(string) — Link typedescription(string) — Descriptionrel(string) — Link relid(integer) — Post/page IDopensInNewTab(boolean) — Open in new taburl(string) — URLtitle(string) — Title attributekind(string) — Link kindisTopLevelLink(boolean) — Top level
Supports: className, typography
core/navigation-submenu
Navigation submenu container.
Attributes:
label(rich-text) — Submenu labeltype(string) — Link typedescription(string) — Descriptionrel(string) — Link relid(integer) — Post/page IDopensInNewTab(boolean) — Open in new taburl(string) — URLtitle(string) — Title attributekind(string) — Link kindisTopLevelItem(boolean) — Top level
Supports: className
core/home-link
Home page link for navigation.
Attributes:
label(string) — Link text
Supports: className, typography
core/accordion
Accordion container.
Attributes:
allowMultiple(boolean) — Allow multiple open
Supports: align, anchor, className, color, spacing, typography, layout
core/accordion-item
Single accordion item.
Attributes:
defaultOpen(boolean) — Open by default
Supports: className, color, spacing, typography
core/accordion-heading
Accordion item heading.
Attributes:
content(rich-text) — Heading text
Supports: className, color, typography
core/accordion-panel
Accordion item content panel.
Attributes: None
Supports: className, color, spacing, typography, layout