Block Reference

If you need a quick way to find a blocks CSS class,
or need to copy the markup for use with your Full Site Editing theme,
you can use this Gutenberg block reference to view information about each block.

  • Block name, description and category.
  • Block Grammar.
  • Attributes, supports and transforms.
  • Links to the official documentation and source.




Archives

Display a monthly archive of your posts.

Category: Widgets.

Source: View source on Github

Edtor CSS Class: wp-block-archives-editor

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • DisplayAsDropdown:
    • Type: Boolean.
    • Default: False.
  • ShowPostCounts:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: True.
  • Html: False.

Audio

Embed a simple audio player.

Category: Media.

Source: View source on Github

Edtor CSS Class: wp-block-audio-editor

Front CSS Class: wp-block-audio

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Src:
    • Type: String.
    • Source: Attribute.
    • Selector: Audio.
    • Attribute: Src.
  • Caption:
    • Type: String.
    • Source: Html.
    • Selector: Figcaption.
  • Id:
    • Type: Number.
  • Autoplay:
    • Type: Boolean.
    • Source: Attribute.
    • Selector: Audio.
    • Attribute: Autoplay.
  • Loop:
    • Type: Boolean.
    • Source: Attribute.
    • Selector: Audio.
    • Attribute: Loop.
  • Preload:
    • Type: String.
    • Source: Attribute.
    • Selector: Audio.
    • Attribute: Preload.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.

Block

Reusable blocks

Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.

Category: Reusable.

Source: View source on Github

Edtor CSS Class: wp-block-editor

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Ref:
    • Type: Number.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • CustomClassName: False.
  • Html: False.
  • Inserter: False.

Button

Prompt visitors to take action with a button-style link.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-button-editor

Front CSS Class: wp-block-button

Parent

Optional. Type: Array.

Blocks are able to be inserted into blocks that use InnerBlocks as nested content. Setting parent lets a block require that it is only available when nested within the specified blocks.

Documentation

Parent: core/buttons

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Url:
    • Type: String.
    • Source: Attribute.
    • Selector: A.
    • Attribute: Href.
  • Title:
    • Type: String.
    • Source: Attribute.
    • Selector: A.
    • Attribute: Title.
  • Text:
    • Type: String.
    • Source: Html.
    • Selector: A.
  • LinkTarget:
    • Type: String.
    • Source: Attribute.
    • Selector: A.
    • Attribute: Target.
  • Rel:
    • Type: String.
    • Source: Attribute.
    • Selector: A.
    • Attribute: Rel.
  • Placeholder:
    • Type: String.
  • BorderRadius:
    • Type: Number.
  • Style:
    • Type: Object.
  • BackgroundColor:
    • Type: String.
  • TextColor:
    • Type: String.
  • Gradient:
    • Type: String.
  • Width:
    • Type: Number.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.
  • AlignWide: False.
  • Reusable: False.
  • __experimentalSelector: .wp-block-button > a.

Buttons

Prompt visitors to take action with a group of button-style links.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-buttons-editor

Front CSS Class: wp-block-buttons

Block variation

Horizontal: Buttons shown in a row.
Vertical: Buttons shown in a column.

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • ContentJustification:
    • Type: String.
  • Orientation:
    • Type: String.
    • Default: Horizontal.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: wide, full,

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms to: button, paragraph,


Calendar

A calendar of your site’s posts.

Category: Widgets.

Source: View source on Github

Front CSS Class: wp-block-calendar

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Month:
    • Type: Integer.
  • Year:
    • Type: Integer.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: True.

Categories

Display a list of all categories.

Category: Widgets.

Source: View source on Github

Edtor CSS Class: wp-block-categories-editor

Front CSS Class: wp-block-categories

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • DisplayAsDropdown:
    • Type: Boolean.
    • Default: False.
  • ShowHierarchy:
    • Type: Boolean.
    • Default: False.
  • ShowPostCounts:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: True.
  • Html: False.

Freeform

The Classic block

Use the classic WordPress editor.

Category: Text.

Source: View source on Github

CSS Class: wp-some-class

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Content:
    • Type: String.
    • Source: Html.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • ClassName: False.
  • CustomClassName: False.
  • Reusable: False.

Code

Display code snippets that respect your spacing and tabs.

Category: Text.

Source: View source on Github

Front CSS Class: wp-block-code

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Content:
    • Type: String.
    • Source: Html.
    • Selector: Code.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • FontSize: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms to: html,


Column

A single column within a columns block.

Category: Text.

Source: View source on Github

CSS Class: wp-block-column

Block Grammar & Markup

Parent

Optional. Type: Array.

Blocks are able to be inserted into blocks that use InnerBlocks as nested content. Setting parent lets a block require that it is only available when nested within the specified blocks.

Documentation

Parent: core/columns

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • VerticalAlignment:
    • Type: String.
  • Width:
    • Type: String.
  • TemplateLock:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Reusable: False.
  • Html: False.

Columns

Add a block that displays content in multiple columns, then add whatever content blocks you’d like.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-columns-editor

Front CSS Class: wp-block-columns

Block variation

100: One column
50 / 50: Two columns; equal split
30 / 70: Two columns; one-third
70 / 30: Two columns; two-thirds
33 / 33 / 33: Three columns; equal split
25 / 50 / 25: Three columns; wide center column

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • VerticalAlignment:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: wide, full,
  • Html: False.
  • Color: gradients: True. link: True.

Cover

Add an image or video with a text overlay — great for headers.

Category: Media.

Source: View source on Github

Edtor CSS Class: wp-block-cover-editor

Front CSS Class: wp-block-cover

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Url:
    • Type: String.
  • Id:
    • Type: Number.
  • HasParallax:
    • Type: Boolean.
    • Default: False.
  • IsRepeated:
    • Type: Boolean.
    • Default: False.
  • DimRatio:
    • Type: Number.
    • Default: 50.
  • OverlayColor:
    • Type: String.
  • CustomOverlayColor:
    • Type: String.
  • BackgroundType:
    • Type: String.
    • Default: Image.
  • FocalPoint:
    • Type: Object.
  • MinHeight:
    • Type: Number.
  • MinHeightUnit:
    • Type: String.
  • Gradient:
    • Type: String.
  • CustomGradient:
    • Type: String.
  • ContentPosition:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.
  • Html: False.
  • Spacing: padding: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms from: image, video,

Transforms to: image, video,


Embed

Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.

Category: Embed.

Source: View source on Github

Edtor CSS Class: wp-block-embed-editor

Front CSS Class: wp-block-embed

Block variation

Twitter: Embed a tweet.
YouTube: Embed a YouTube video.
Facebook: Embed a Facebook post.
Instagram: Embed an Instagram post.
WordPress: Embed a WordPress post.
SoundCloud: Embed SoundCloud content.
Spotify: Embed Spotify content.
Flickr: Embed Flickr content.
Vimeo: Embed a Vimeo video.
Animoto: Embed an Animoto video.
Cloudup: Embed Cloudup content.
CollegeHumor: Embed CollegeHumor content.
Crowdsignal: Embed Crowdsignal formerly Polldaddy content.
Dailymotion: Embed a Dailymotion video.
Imgur: Embed Imgur content.
Issuu: Embed Issuu content.
Kickstarter: Embed Kickstarter content.
Meetup.com: Embed Meetup.com content.
Mixcloud: Embed Mixcloud content.
Reddit: Embed a Reddit thread.
ReverbNation: Embed ReverbNation content.
Screencast: Embed Screencast content.
Scribd: Embed Scribd content.
Slideshare: Embed Slideshare content.
SmugMug: Embed SmugMug content.
Speaker Deck: Embed Speaker Deck content.
TikTok: Embed a TikTok video.
TED: Embed a TED video.
Tumblr: Embed a Tumblr post.
VideoPress: Embed a VideoPress video.
WordPress.tv: Embed a WordPress.tv video.
Amazon Kindle: Embed Amazon Kindle content.

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Url:
    • Type: String.
  • Caption:
    • Type: String.
    • Source: Html.
    • Selector: Figcaption.
  • Type:
    • Type: String.
  • ProviderNameSlug:
    • Type: String.
  • AllowResponsive:
    • Type: Boolean.
    • Default: True.
  • Responsive:
    • Type: Boolean.
    • Default: False.
  • Previewable:
    • Type: Boolean.
    • Default: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms to: paragraph,


File

Add a link to a downloadable file.

Category: Media.

Source: View source on Github

Edtor CSS Class: wp-block-file-editor

Front CSS Class: wp-block-file

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Id:
    • Type: Number.
  • Href:
    • Type: String.
  • FileName:
    • Type: String.
    • Source: Html.
    • Selector: A:not([download]).
  • TextLinkHref:
    • Type: String.
    • Source: Attribute.
    • Selector: A:not([download]).
    • Attribute: Href.
  • TextLinkTarget:
    • Type: String.
    • Source: Attribute.
    • Selector: A:not([download]).
    • Attribute: Target.
  • ShowDownloadButton:
    • Type: Boolean.
    • Default: True.
  • DownloadButtonText:
    • Type: String.
    • Source: Html.
    • Selector: A[download].

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms to: audio, video, image,


Freeform

The Classic block

Use the classic WordPress editor.

Category: Text.

Source: View source on Github

Edtor CSS Class: wp-block-freeform-editor

CSS Class: wp-some-class

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Content:
    • Type: String.
    • Source: Html.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • ClassName: False.
  • CustomClassName: False.
  • Reusable: False.

Gallery

Display multiple images in a rich gallery.

Category: Media.

Source: View source on Github

Edtor CSS Class: wp-block-gallery-editor

Front CSS Class: wp-block-gallery

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Images:
    • Type: Array.
    • Default:
    • Source: Query.
    • Selector: .blocks-gallery-item.
    • Query:
      • url:
        • type: string.
        • source: attribute.
        • selector: img.
        • attribute: src.

      • fullUrl:
        • type: string.
        • source: attribute.
        • selector: img.
        • attribute: data-full-url.

      • link:
        • type: string.
        • source: attribute.
        • selector: img.
        • attribute: data-link.

      • alt:
        • type: string.
        • source: attribute.
        • selector: img.
        • attribute: alt.
        • default: .

      • id:
        • type: string.
        • source: attribute.
        • selector: img.
        • attribute: data-id.

      • caption:
        • type: string.
        • source: html.
        • selector: .blocks-gallery-item__caption.
  • Ids:
    • Type: Array.
    • Items: type: number,
    • Default:
  • Columns:
    • Type: Number.
    • Minimum: 1.
    • Maximum: 8.
  • Caption:
    • Type: String.
    • Source: Html.
    • Selector: .blocks-gallery-caption.
  • ImageCrop:
    • Type: Boolean.
    • Default: True.
  • LinkTo:
    • Type: String.
  • SizeSlug:
    • Type: String.
    • Default: Large.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms from: image,

Transforms to: image,


Group

Combine blocks into a group.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-group-editor

Front CSS Class: wp-block-group

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TagName:
    • Type: String.
    • Default: Div.
  • TemplateLock:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Anchor: True.
  • Html: False.
  • Color: gradients: True. link: True.
  • Spacing: padding: True.
  • __experimentalBorder: radius: True.

Heading

Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.

Category: Text.

Source: View source on Github

Edtor CSS Class: wp-block-heading-editor

Front CSS Class: wp-block-heading

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.
  • Content:
    • Type: String.
    • Source: Html.
    • Selector: H1,h2,h3,h4,h5,h6.
    • Default: .
  • Level:
    • Type: Number.
    • Default: 2.
  • Placeholder:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Anchor: True.
  • ClassName: False.
  • Color: link: True.
  • FontSize: True.
  • LineHeight: True.
  • __experimentalSelector: Core/heading/h1: selector: title: attributes: Core/heading/h2: selector: title: attributes: Core/heading/h3: selector: title: attributes: Core/heading/h4: selector: title: attributes: Core/heading/h5: selector: title: attributes: Core/heading/h6: selector: title: attributes:
  • __unstablePasteTextInline: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms from: paragraph,

Transforms to: paragraph,


Html

Add custom HTML code and preview it as you edit.

Category: Widgets.

Source: View source on Github

Edtor CSS Class: wp-block-html-editor

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Content:
    • Type: String.
    • Source: Html.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • CustomClassName: False.
  • ClassName: False.
  • Html: False.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms to: code,


Image

Insert an image to make a visual statement.

Category: Media.

Source: View source on Github

Edtor CSS Class: wp-block-image-editor

Front CSS Class: wp-block-image

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Align:
    • Type: String.
  • Url:
    • Type: String.
    • Source: Attribute.
    • Selector: Img.
    • Attribute: Src.
  • Alt:
    • Type: String.
    • Source: Attribute.
    • Selector: Img.
    • Attribute: Alt.
    • Default: .
  • Caption:
    • Type: String.
    • Source: Html.
    • Selector: Figcaption.
  • Title:
    • Type: String.
    • Source: Attribute.
    • Selector: Img.
    • Attribute: Title.
  • Href:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure > a.
    • Attribute: Href.
  • Rel:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure > a.
    • Attribute: Rel.
  • LinkClass:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure > a.
    • Attribute: Class.
  • Id:
    • Type: Number.
  • Width:
    • Type: Number.
  • Height:
    • Type: Number.
  • SizeSlug:
    • Type: String.
  • LinkDestination:
    • Type: String.
  • LinkTarget:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure > a.
    • Attribute: Target.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • __experimentalBorder: radius: True.

Latest comments

Category: Widgets.

Source: View source on Github

Edtor CSS Class: wp-block-latest-comments-editor

Front CSS Class: wp-block-latest-comments

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • CommentsToShow:
    • Type: Number.
    • Default: 5.
    • Minimum: 1.
    • Maximum: 100.
  • DisplayAvatar:
    • Type: Boolean.
    • Default: True.
  • DisplayDate:
    • Type: Boolean.
    • Default: True.
  • DisplayExcerpt:
    • Type: Boolean.
    • Default: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: True.
  • Html: False.

Latest posts

Category: Widgets.

Source: View source on Github

Edtor CSS Class: wp-block-latest-posts-editor

Front CSS Class: wp-block-latest-posts

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Categories:
    • Type: Array.
    • Items: type: object,
  • SelectedAuthor:
    • Type: Number.
  • PostsToShow:
    • Type: Number.
    • Default: 5.
  • DisplayPostContent:
    • Type: Boolean.
    • Default: False.
  • DisplayPostContentRadio:
    • Type: String.
    • Default: Excerpt.
  • ExcerptLength:
    • Type: Number.
    • Default: 55.
  • DisplayAuthor:
    • Type: Boolean.
    • Default: False.
  • DisplayPostDate:
    • Type: Boolean.
    • Default: False.
  • PostLayout:
    • Type: String.
    • Default: List.
  • Columns:
    • Type: Number.
    • Default: 3.
  • Order:
    • Type: String.
    • Default: Desc.
  • OrderBy:
    • Type: String.
    • Default: Date.
  • DisplayFeaturedImage:
    • Type: Boolean.
    • Default: False.
  • FeaturedImageAlign:
    • Type: String.
    • Enum: left, center, right,
  • FeaturedImageSizeSlug:
    • Type: String.
    • Default: Thumbnail.
  • FeaturedImageSizeWidth:
    • Type: Number.
    • Default: .
  • FeaturedImageSizeHeight:
    • Type: Number.
    • Default: .
  • AddLinkToFeaturedImage:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: True.
  • Html: False.

List

Create a bulleted or numbered list.

Category: Text.

Source: View source on Github

Edtor CSS Class: wp-block-list-editor

Front CSS Class: wp-block-list

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Ordered:
    • Type: Boolean.
    • Default: False.
  • Values:
    • Type: String.
    • Source: Html.
    • Selector: Ol,ul.
    • Multiline: Li.
    • __unstableMultilineWrapperTags: ol, ul,
    • Default: .
  • Type:
    • Type: String.
  • Start:
    • Type: Number.
  • Reversed:
    • Type: Boolean.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • ClassName: False.
  • FontSize: True.
  • Color: gradients: True.
  • __unstablePasteTextInline: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms from: paragraph, heading,

Transforms to: paragraph, heading, quote, pullquote, paragraph,


Media text

Category: Media.

Source: View source on Github

Edtor CSS Class: wp-block-media-text-editor

Front CSS Class: wp-block-media-text

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Align:
    • Type: String.
    • Default: Wide.
  • MediaAlt:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure img.
    • Attribute: Alt.
    • Default: .
  • MediaPosition:
    • Type: String.
    • Default: Left.
  • MediaId:
    • Type: Number.
  • MediaUrl:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure video,figure img.
    • Attribute: Src.
  • MediaLink:
    • Type: String.
  • LinkDestination:
    • Type: String.
  • LinkTarget:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure a.
    • Attribute: Target.
  • Href:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure a.
    • Attribute: Href.
  • Rel:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure a.
    • Attribute: Rel.
  • LinkClass:
    • Type: String.
    • Source: Attribute.
    • Selector: Figure a.
    • Attribute: Class.
  • MediaType:
    • Type: String.
  • MediaWidth:
    • Type: Number.
    • Default: 50.
  • MediaSizeSlug:
    • Type: String.
  • IsStackedOnMobile:
    • Type: Boolean.
    • Default: True.
  • VerticalAlignment:
    • Type: String.
  • ImageFill:
    • Type: Boolean.
  • FocalPoint:
    • Type: Object.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: wide, full,
  • Html: False.
  • Color: gradients: True. link: True.

More

Content before this block will be shown in the excerpt on your archives page.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-more-editor

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • CustomText:
    • Type: String.
  • NoTeaser:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • CustomClassName: False.
  • ClassName: False.
  • Html: False.
  • Multiple: False.

Navigation link

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-navigation-link-editor

Front CSS Class: wp-block-navigation-link

Block Grammar & Markup

Parent

Optional. Type: Array.

Blocks are able to be inserted into blocks that use InnerBlocks as nested content. Setting parent lets a block require that it is only available when nested within the specified blocks.

Documentation

Parent: core/navigation

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Label:
    • Type: String.
  • Type:
    • Type: String.
  • Description:
    • Type: String.
  • Rel:
    • Type: String.
  • Id:
    • Type: Number.
  • OpensInNewTab:
    • Type: Boolean.
    • Default: False.
  • Url:
    • Type: String.
  • Title:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • textColor
  • customTextColor
  • backgroundColor
  • customBackgroundColor
  • fontSize
  • customFontSize
  • showSubmenuIcon
  • style

Navigation

A collection of blocks that allow visitors to get around your site.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-navigation-editor

Front CSS Class: wp-block-navigation

Block variation

Navigation (horizontal): Links shown in a row.
Navigation (vertical): Links shown in a column.

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Orientation:
    • Type: String.
  • TextColor:
    • Type: String.
  • CustomTextColor:
    • Type: String.
  • RgbTextColor:
    • Type: String.
  • BackgroundColor:
    • Type: String.
  • CustomBackgroundColor:
    • Type: String.
  • RgbBackgroundColor:
    • Type: String.
  • ItemsJustification:
    • Type: String.
  • ShowSubmenuIcon:
    • Type: Boolean.
    • Default: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Anchor: True.
  • Html: False.
  • Inserter: True.
  • FontSize: True.
  • __experimentalFontStyle: True.
  • __experimentalFontWeight: True.
  • __experimentalTextTransform: True.
  • Color: True.
  • __experimentalFontFamily: True.
  • __experimentalTextDecoration: True.

Context

Documentation

Provides context

  • textColor
  • customTextColor
  • backgroundColor
  • customBackgroundColor
  • fontSize
  • customFontSize
  • showSubmenuIcon
  • style

Nextpage

Separate your content into a multi-page experience.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-nextpage-editor

Block Grammar & Markup

Parent

Optional. Type: Array.

Blocks are able to be inserted into blocks that use InnerBlocks as nested content. Setting parent lets a block require that it is only available when nested within the specified blocks.

Documentation

Parent: core/post-content

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • CustomClassName: False.
  • ClassName: False.
  • Html: False.

Page list

Category: Widgets.

Source: View source on Github

Edtor CSS Class: wp-block-page-list-editor

Front CSS Class: wp-block-page-list

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • textColor
  • customTextColor
  • backgroundColor
  • customBackgroundColor
  • fontSize
  • customFontSize
  • showSubmenuIcon
  • style

Paragraph

Start with the building block of all narrative.

Category: Text.

Source: View source on Github

Edtor CSS Class: wp-block-paragraph-editor

Front CSS Class: wp-block-paragraph

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Align:
    • Type: String.
  • Content:
    • Type: String.
    • Source: Html.
    • Selector: P.
    • Default: .
  • DropCap:
    • Type: Boolean.
    • Default: False.
  • Placeholder:
    • Type: String.
  • Direction:
    • Type: String.
    • Enum: ltr, rtl,

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • ClassName: False.
  • Color: link: True.
  • FontSize: True.
  • LineHeight: True.
  • __experimentalSelector: P.
  • __unstablePasteTextInline: True.

Post author

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-post-author-editor

Front CSS Class: wp-block-post-author

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.
  • AvatarSize:
    • Type: Number.
    • Default: 48.
  • ShowAvatar:
    • Type: Boolean.
    • Default: True.
  • ShowBio:
    • Type: Boolean.
  • Byline:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • FontSize: True.
  • Color: gradients: True. link: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postType
  • postId

Post comment author

Category: Design.

Source: View source on Github

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.

Context

Documentation

Uses context

  • commentId

Post comment content

Category: Design.

Source: View source on Github

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.

Context

Documentation

Uses context

  • commentId

Post comment date

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Format:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.

Context

Documentation

Uses context

  • commentId

Post comment

Category: Design.

Source: View source on Github

CSS Class: wp-block-post-comment

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • CommentId:
    • Type: Number.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.

Context

Documentation

Provides context

  • commentId

Post comments count

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Color: gradients: True.
  • FontSize: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId

Post comments form

Category: Design.

Source: View source on Github

Front CSS Class: wp-block-post-comments-form

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Color: gradients: True. link: True.
  • FontSize: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post comments

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Align: wide, full,
  • FontSize: True.
  • Color: gradients: True. link: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post content

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-post-content-editor

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Html: False.

Context

Documentation

Uses context

  • postId
  • postType

Post date

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.
  • Format:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Color: gradients: True.
  • FontSize: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post excerpt

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-post-excerpt-editor

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.
  • WordCount:
    • Type: Number.
    • Default: 55.
  • MoreText:
    • Type: String.
  • ShowMoreOnNewLine:
    • Type: Boolean.
    • Default: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • FontSize: True.
  • Color: gradients: True. link: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post featured image

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-post-featured-image-editor

Front CSS Class: wp-block-post-featured-image

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • IsLink:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: left, right, 2: center, 3: wide, 4: full,
  • Html: False.

Context

Documentation

Uses context

  • postId
  • postType

Post hierarchical terms

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Term:
    • Type: String.
  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • FontSize: True.
  • Color: gradients: True. link: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post navigation link

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.
  • Type:
    • Type: String.
    • Default: Next.
  • Label:
    • Type: String.
  • ShowTitle:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Post tags

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • FontSize: True.
  • Color: gradients: True. link: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post title

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • TextAlign:
    • Type: String.
  • Level:
    • Type: Number.
    • Default: 2.
  • IsLink:
    • Type: Boolean.
    • Default: False.
  • Rel:
    • Type: String.
    • Attribute: Rel.
    • Default: .
  • LinkTarget:
    • Type: String.
    • Default: _self.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Html: False.
  • Color: gradients: True.
  • FontSize: True.
  • LineHeight: True.
  • __experimentalFontFamily: True.
  • __experimentalSelector: Core/post-title/h1: title: selector: attributes: Core/post-title/h2: title: selector: attributes: Core/post-title/h3: title: selector: attributes: Core/post-title/h4: title: selector: attributes: Core/post-title/h5: title: selector: attributes: Core/post-title/h6: title: selector: attributes:

Context

Documentation

Uses context

  • postId
  • postType

Preformatted

Add text that respects your spacing and tabs, and also allows styling.

Category: Text.

Source: View source on Github

Front CSS Class: wp-block-preformatted

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Content:
    • Type: String.
    • Source: Html.
    • Selector: Pre.
    • Default: .
    • __unstablePreserveWhiteSpace: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • FontSize: True.

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms from: paragraph, transform: ( attributes ) => code,

Transforms to: code, paragraph, paragraph,


Pullquote

Give special visual emphasis to a quote from your text.

Category: Text.

Source: View source on Github

Edtor CSS Class: wp-block-pullquote-editor

Front CSS Class: wp-block-pullquote

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Value:
    • Type: String.
    • Source: Html.
    • Selector: Blockquote.
    • Multiline: P.
  • Citation:
    • Type: String.
    • Source: Html.
    • Selector: Cite.
    • Default: .
  • MainColor:
    • Type: String.
  • CustomMainColor:
    • Type: String.
  • TextColor:
    • Type: String.
  • CustomTextColor:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: left, right, 2: wide, 3: full,

Transforms

Optional. Type: Array.

Transforms provide rules for what a block can be transformed from and what it can be transformed to.

Documentation

Transforms from: paragraph, paragraph, const headingBlock = heading, const pullquoteBlock = pullquote,

Transforms to: paragraph, heading,


Query loop

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-query-loop-editor

Front CSS Class: wp-block-query-loop

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • queryId
  • query
  • queryContext
  • layout
  • templateSlug

Query pagination next

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Label:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.
  • Color: gradients: True. link: True.
  • FontSize: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • queryId
  • query

Query pagination numbers

Category: Design.

Source: View source on Github

Edtor CSS Class: query-pagination-numbers-editor

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • queryId
  • query

Query pagination previous

Category: Design.

Source: View source on Github

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • Label:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.
  • Color: gradients: True. link: True.
  • FontSize: True.
  • LineHeight: True.

Context

Documentation

Uses context

  • queryId
  • query

Query pagination

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-query-pagination-editor

Front CSS Class: wp-block-query-pagination

Block Grammar & Markup

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • queryId
  • query
  • queryContext

Query

Displays a list of posts as a result of a query.

Category: Design.

Source: View source on Github

Edtor CSS Class: wp-block-query-editor

Block variation

Posts List:
Display a list of your most recent posts
Title & DateTitle & ExcerptTitleImage

Block Grammar & Markup

Attributes

Optional. Type: Object.

Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

Documentation

  • QueryId:
    • Type: Number.
  • Query:
    • Type: Object.
    • Default: perPage: , pages: 0, offset: 0, postType: post,
      • categoryIds:

        • tagIds:

          order: desc, orderBy: date, author: , search: ,

          • exclude:

            sticky: , inherit: 1,

        • Layout:
          • Type: Object.
          • Default: type: list,

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Html: False.

        Context

        Documentation

        Provides context

        • queryId
        • query
        • layout

        Uses context

        • postId

        Quote

        Give quoted text visual emphasis. “In quoting others, we cite ourselves.” — Julio Cortázar

        Category: Text.

        Source: View source on Github

        Edtor CSS Class: wp-block-quote-editor

        Front CSS Class: wp-block-quote

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Value:
          • Type: String.
          • Source: Html.
          • Selector: Blockquote.
          • Multiline: P.
          • Default: .
        • Citation:
          • Type: String.
          • Source: Html.
          • Selector: Cite.
          • Default: .
        • Align:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Anchor: True.

        Transforms

        Optional. Type: Array.

        Transforms provide rules for what a block can be transformed from and what it can be transformed to.

        Documentation

        Transforms from: paragraph, paragraph, const headingBlock = heading, const quoteBlock = quote,

        Transforms to: paragraph, heading, pullquote,


        Rss

        Display entries from any RSS or Atom feed.

        Category: Widgets.

        Source: View source on Github

        Edtor CSS Class: wp-block-rss-editor

        Front CSS Class: wp-block-rss

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Columns:
          • Type: Number.
          • Default: 2.
        • BlockLayout:
          • Type: String.
          • Default: List.
        • FeedURL:
          • Type: String.
          • Default: .
        • ItemsToShow:
          • Type: Number.
          • Default: 5.
        • DisplayExcerpt:
          • Type: Boolean.
          • Default: False.
        • DisplayAuthor:
          • Type: Boolean.
          • Default: False.
        • DisplayDate:
          • Type: Boolean.
          • Default: False.
        • ExcerptLength:
          • Type: Number.
          • Default: 55.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Align: True.
        • Html: False.

        Search

        Help visitors find your content.

        Category: Widgets.

        Source: View source on Github

        Edtor CSS Class: wp-block-search-editor

        Front CSS Class: wp-block-search

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Label:
          • Type: String.
        • ShowLabel:
          • Type: Boolean.
          • Default: True.
        • Placeholder:
          • Type: String.
          • Default: .
        • Width:
          • Type: Number.
        • WidthUnit:
          • Type: String.
        • ButtonText:
          • Type: String.
        • ButtonPosition:
          • Type: String.
          • Default: Button-outside.
        • ButtonUseIcon:
          • Type: Boolean.
          • Default: False.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Align: left, center, 2: right,
        • Html: False.

        Separator

        Create a break between ideas or sections with a horizontal separator.

        Category: Design.

        Source: View source on Github

        Edtor CSS Class: wp-block-separator-editor

        Front CSS Class: wp-block-separator

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Color:
          • Type: String.
        • CustomColor:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Anchor: True.
        • Align: center, wide, 2: full,

        Shortcode

        Insert additional custom elements with a WordPress shortcode.

        Category: Widgets.

        Source: View source on Github

        Edtor CSS Class: wp-block-shortcode-editor

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Text:
          • Type: String.
          • Source: Html.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • ClassName: False.
        • CustomClassName: False.
        • Html: False.

        Site logo

        Category: Layout.

        Source: View source on Github

        Edtor CSS Class: wp-block-site-logo-editor

        Front CSS Class: wp-block-site-logo

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Align:
          • Type: String.
        • Width:
          • Type: Number.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Html: False.

        Site tagline

        Category: Design.

        Source: View source on Github

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • TextAlign:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Html: False.
        • Color: gradients: True.
        • FontSize: True.
        • LineHeight: True.
        • __experimentalFontFamily: True.

        Site title

        Category: Design.

        Source: View source on Github

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Level:
          • Type: Number.
          • Default: 1.
        • TextAlign:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Align: wide, full,
        • Html: False.
        • Color: gradients: True.
        • FontSize: True.
        • LineHeight: True.
        • __experimentalFontFamily: True.

        Social link

        Category: Widgets.

        Source: View source on Github

        Edtor CSS Class: wp-block-social-link-editor

        Block Grammar & Markup

        Parent

        Optional. Type: Array.

        Blocks are able to be inserted into blocks that use InnerBlocks as nested content. Setting parent lets a block require that it is only available when nested within the specified blocks.

        Documentation

        Parent: core/social-links

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Url:
          • Type: String.
        • Service:
          • Type: String.
        • Label:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Reusable: False.
        • Html: False.

        Context

        Documentation

        Uses context

        • openInNewTab

        Social links

        Category: Widgets.

        Source: View source on Github

        Edtor CSS Class: wp-block-social-links-editor

        Front CSS Class: wp-block-social-links

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • IconColor:
          • Type: String.
        • CustomIconColor:
          • Type: String.
        • IconColorValue:
          • Type: String.
        • IconBackgroundColor:
          • Type: String.
        • CustomIconBackgroundColor:
          • Type: String.
        • IconBackgroundColorValue:
          • Type: String.
        • OpenInNewTab:
          • Type: Boolean.
          • Default: False.
        • Size:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Align: left, center, 2: right,
        • Anchor: True.

        Context

        Documentation

        Provides context

        • openInNewTab

        Spacer

        Add white space between blocks and customize its height.

        Category: Design.

        Source: View source on Github

        Edtor CSS Class: wp-block-spacer-editor

        Front CSS Class: wp-block-spacer

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • Height:
          • Type: Number.
          • Default: 100.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Anchor: True.

        Table

        Insert a table — perfect for sharing charts and data.

        Category: Text.

        Source: View source on Github

        Edtor CSS Class: wp-block-table-editor

        Front CSS Class: wp-block-table

        Block Grammar & Markup

        Attributes

        Optional. Type: Object.

        Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

        Documentation

        • HasFixedLayout:
          • Type: Boolean.
          • Default: False.
        • BackgroundColor:
          • Type: String.
        • Caption:
          • Type: String.
          • Source: Html.
          • Selector: Figcaption.
          • Default: .
        • Head:
          • Type: Array.
          • Default:
          • Source: Query.
          • Selector: Thead tr.
          • Query:
            • cells:
              • type: array.
              • default:
                • source: query.
                • selector: td,th.
                • query:
                  • content:
                    • type: string
                    • source: html
                  • tag:
                    • type: string
                    • default: td
                    • source: tag
                  • scope:
                    • type: string
                    • source: attribute
                    • attribute: scope
                  • align:
                    • type: string
                    • source: attribute
                    • attribute: data-align
          • Body:
            • Type: Array.
            • Default:
            • Source: Query.
            • Selector: Tbody tr.
            • Query:
              • cells:
                • type: array.
                • default:
                  • source: query.
                  • selector: td,th.
                  • query:
                    • content:
                      • type: string
                      • source: html
                    • tag:
                      • type: string
                      • default: td
                      • source: tag
                    • scope:
                      • type: string
                      • source: attribute
                      • attribute: scope
                    • align:
                      • type: string
                      • source: attribute
                      • attribute: data-align
            • Foot:
              • Type: Array.
              • Default:
              • Source: Query.
              • Selector: Tfoot tr.
              • Query:
                • cells:
                  • type: array.
                  • default:
                    • source: query.
                    • selector: td,th.
                    • query:
                      • content:
                        • type: string
                        • source: html
                      • tag:
                        • type: string
                        • default: td
                        • source: tag
                      • scope:
                        • type: string
                        • source: attribute
                        • attribute: scope
                      • align:
                        • type: string
                        • source: attribute
                        • attribute: data-align

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Anchor: True.
              • Align: True.
              • __experimentalSelector: .wp-block-table > table.

              Tag cloud

              Category: Widgets.

              Source: View source on Github

              Edtor CSS Class: wp-block-tag-cloud-editor

              Block Grammar & Markup

              Attributes

              Optional. Type: Object.

              Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

              Documentation

              • Taxonomy:
                • Type: String.
                • Default: Post_tag.
              • ShowTagCounts:
                • Type: Boolean.
                • Default: False.

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Html: False.
              • Align: True.

              Template part

              Category: Design.

              Source: View source on Github

              Edtor CSS Class: wp-block-template-part-editor

              Block Grammar & Markup

              Attributes

              Optional. Type: Object.

              Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

              Documentation

              • Slug:
                • Type: String.
              • Theme:
                • Type: String.
              • TagName:
                • Type: String.
                • Default: Div.

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Align: True.
              • Html: False.
              • Color: gradients: True. link: True.

              Verse

              Insert poetry. Use special spacing formats. Or quote song lyrics.

              Category: Text.

              Source: View source on Github

              Edtor CSS Class: wp-block-verse-editor

              Front CSS Class: wp-block-verse

              Block Grammar & Markup

              Attributes

              Optional. Type: Object.

              Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

              Documentation

              • Content:
                • Type: String.
                • Source: Html.
                • Selector: Pre.
                • Default: .
                • __unstablePreserveWhiteSpace: True.
              • TextAlign:
                • Type: String.

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Anchor: True.
              • __experimentalFontFamily: True.
              • FontSize: True.

              Transforms

              Optional. Type: Array.

              Transforms provide rules for what a block can be transformed from and what it can be transformed to.

              Documentation

              Transforms from: paragraph,

              Transforms to: paragraph,


              Video

              Embed a video from your media library or upload a new one.

              Category: Media.

              Source: View source on Github

              Edtor CSS Class: wp-block-video-editor

              Front CSS Class: wp-block-video

              Block Grammar & Markup

              Attributes

              Optional. Type: Object.

              Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.

              Documentation

              • Autoplay:
                • Type: Boolean.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Autoplay.
              • Caption:
                • Type: String.
                • Source: Html.
                • Selector: Figcaption.
              • Controls:
                • Type: Boolean.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Controls.
                • Default: True.
              • Id:
                • Type: Number.
              • Loop:
                • Type: Boolean.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Loop.
              • Muted:
                • Type: Boolean.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Muted.
              • Poster:
                • Type: String.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Poster.
              • Preload:
                • Type: String.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Preload.
                • Default: Metadata.
              • Src:
                • Type: String.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Src.
              • PlaysInline:
                • Type: Boolean.
                • Source: Attribute.
                • Selector: Video.
                • Attribute: Playsinline.
              • Tracks:
                • Type: Array.
                • Items: type: object,
                • Default:

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Anchor: True.
              • Align: True.