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

Editor 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

Editor 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

Category: Reusable.

Source: View source on Github

Editor 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

Editor 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.
  • 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.
  • Color: __experimentalSkipSerialization: True. gradients: True.
  • Typography: fontSize: True. __experimentalFontFamily: True.
  • Reusable: False.
  • Spacing: __experimentalSkipSerialization: True. Padding: 0: 1: __experimentalDefaultControls: padding: True.
  • __experimentalBorder: radius: True. __experimentalSkipSerialization: True.
  • __experimentalSelector: .wp-block-button__link.

Buttons

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

Category: Design.

Source: View source on Github

Editor CSS Class: wp-block-buttons-editor

Front CSS Class: wp-block-buttons

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,
  • __experimentalExposeControlsToChildren: True.

Transforms

Optional. Type: Object.

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

Documentation

Transforms to: button


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

Editor 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.

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.
  • __experimentalSelector: .wp-block-code > code.
  • Typography: fontSize: True.

Transforms

Optional. Type: Object.

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:
    • Enum: all, insert, ,

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Reusable: False.
  • Html: False.
  • Color: gradients: True. link: True.
  • Spacing: padding: True. __experimentalDefaultControls: padding: True.

Columns

Add a block that displays content in multiple columns

Category: Design.

Source: View source on Github

Editor CSS Class: wp-block-columns-editor

Front CSS Class: wp-block-columns

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.
  • IsStackedOnMobile:
    • Type: Boolean.
    • Default: True.

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

Editor 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.
  • Alt:
    • Type: String.
    • Source: Attribute.
    • Selector: Img.
    • Attribute: Alt.
    • Default: .
  • 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. __experimentalDefaultControls: padding: True.
  • Color: __experimentalDuotone: > .wp-block-cover__image-background, > .wp-block-cover__video-background, text: False. background: False.

Transforms

Optional. Type: Object.

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


Embed

Add a block that displays content pulled from other sites

Category: Embed.

Source: View source on Github

Editor CSS Class: wp-block-embed-editor

Front CSS Class: wp-block-embed

Block variation

Twitter, YouTube, Facebook, Instagram, WordPress, SoundCloud, Spotify, Flickr, Vimeo, Animoto, Cloudup, CollegeHumor, Crowdsignal, Dailymotion, Imgur, Issuu, Kickstarter, Meetupcom, Mixcloud, Reddit, ReverbNation, Screencast, Scribd, Slideshare, SmugMug, Speaker Deck, TikTok, TED, Tumblr, VideoPress, WordPresstv, Amazon Kindle,

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: Object.

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


File

Add a link to a downloadable file.

Category: Media.

Source: View source on Github

Editor 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].
  • DisplayPreview:
    • Type: Boolean.
  • PreviewHeight:
    • Type: Number.
    • Default: 600.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.

Transforms

Optional. Type: Object.

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

Documentation

Transforms from: audio

Transforms to: audio


Freeform

The Classic block

Use the classic WordPress editor.

Category: Text.

Source: View source on Github

Editor 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

Editor 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:
  • ShortCodeTransforms:
    • Type: Array.
    • Default:
    • Items: type: object,
  • Columns:
    • Type: Number.
    • Minimum: 1.
    • Maximum: 8.
  • Caption:
    • Type: String.
    • Source: Html.
    • Selector: .blocks-gallery-caption.
  • ImageCrop:
    • Type: Boolean.
    • Default: True.
  • LinkTarget:
    • Type: String.
  • LinkTo:
    • Type: String.
  • SizeSlug:
    • Type: String.
    • Default: Large.
  • AllowResize:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: True.

Transforms

Optional. Type: Object.

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

Context

Documentation

Provides context

  • allowResize
  • imageCrop

Group

Combine blocks into a group.

Category: Design.

Source: View source on Github

Editor CSS Class: wp-block-group-editor

Front CSS Class: wp-block-group

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_

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:
    • Enum: all, insert, ,

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. __experimentalDefaultControls: padding: True.
  • __experimentalBorder: color: True. radius: True. style: True. width: True.
  • __experimentalLayout: 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

Editor 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: .
    • __experimentalRole: Content.
  • 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.
  • Typography: fontSize: True. lineHeight: True. __experimentalFontWeight: True.
  • __experimentalSelector: H1,h2,h3,h4,h5,h6.
  • __unstablePasteTextInline: True.

Transforms

Optional. Type: Object.

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


Home link

Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.

Category: Design.

Source: View source on Github

Editor CSS Class: wp-block-home-link-editor

Front CSS Class: wp-block-home-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.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

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

Html

Add custom HTML code and preview it as you edit.

Category: Widgets.

Source: View source on Github

Editor 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: Object.

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

Editor 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.
  • Color: __experimentalDuotone: img, text: False. background: False.
  • __experimentalBorder: radius: True.

Context

Documentation

Uses context

  • allowResize
  • imageCrop

Latest comments

Display a list of your most recent comments.

Category: Widgets.

Source: View source on Github

Editor 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

Display a list of your most recent posts.

Category: Widgets.

Source: View source on Github

Editor 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

Editor 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.
    • __experimentalRole: Content.
  • Values:
    • Type: String.
    • Source: Html.
    • Selector: Ol,ul.
    • Multiline: Li.
    • __unstableMultilineWrapperTags: ol, ul,
    • Default: .
    • __experimentalRole: Content.
  • Type:
    • Type: String.
  • Start:
    • Type: Number.
  • Reversed:
    • Type: Boolean.
  • Placeholder:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • ClassName: False.
  • Typography: fontSize: True. __experimentalFontFamily: True.
  • Color: gradients: True. link: True.
  • __unstablePasteTextInline: True.
  • __experimentalSelector: Ol,ul.

Transforms

Optional. Type: Object.

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, heading


Loginout

Show login & logout links.

Category: Theme.

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

  • DisplayLoginAsForm:
    • Type: Boolean.
    • Default: False.
  • RedirectToCurrent:
    • Type: Boolean.
    • Default: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • ClassName: True.
  • Typography: fontSize: False.

Media text

Set media and words side-by-side for a richer layout.

Category: Media.

Source: View source on Github

Editor 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.

Missing

Your site doesn’t include support for this block.

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

  • OriginalName:
    • Type: String.
  • OriginalUndelimitedContent:
    • Type: String.
  • OriginalContent:
    • Type: String.
    • Source: Html.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • ClassName: False.
  • CustomClassName: False.
  • Inserter: False.
  • Html: False.
  • Reusable: False.

More

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

Category: Design.

Source: View source on Github

Editor 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

Add a page

Category: Design.

Source: View source on Github

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

Front CSS Class: wp-block-navigation-link

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_

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.
  • Kind:
    • Type: String.
  • IsTopLevelLink:
    • Type: Boolean.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • textColor
  • customTextColor
  • backgroundColor
  • customBackgroundColor
  • overlayTextColor
  • customOverlayTextColor
  • overlayBackgroundColor
  • customOverlayBackgroundColor
  • fontSize
  • customFontSize
  • showSubmenuIcon
  • style

Navigation

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

Category: Theme.

Source: View source on Github

Editor CSS Class: wp-block-navigation-editor

Front CSS Class: wp-block-navigation

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_

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.
    • Default: Horizontal.
  • 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.
  • IsResponsive:
    • Type: Boolean.
    • Default: False.
  • __unstableLocation:
    • Type: String.
  • OverlayBackgroundColor:
    • Type: String.
  • CustomOverlayBackgroundColor:
    • Type: String.
  • OverlayTextColor:
    • Type: String.
  • CustomOverlayTextColor:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Anchor: True.
  • Html: False.
  • Inserter: True.
  • Typography: fontSize: True. lineHeight: True. __experimentalFontStyle: True. __experimentalFontWeight: True. __experimentalTextTransform: True. __experimentalFontFamily: True. __experimentalTextDecoration: True.

Context

Documentation

Provides context

  • textColor
  • customTextColor
  • backgroundColor
  • customBackgroundColor
  • overlayTextColor
  • customOverlayTextColor
  • overlayBackgroundColor
  • customOverlayBackgroundColor
  • fontSize
  • customFontSize
  • showSubmenuIcon
  • style
  • orientation

Nextpage

Separate your content into a multi-page experience.

Category: Design.

Source: View source on Github

Editor 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

Display a list of all pages.

Category: Widgets.

Source: View source on Github

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

Front CSS Class: wp-block-page-list

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

  • TextColor:
    • Type: String.
  • CustomTextColor:
    • Type: String.
  • BackgroundColor:
    • Type: String.
  • CustomBackgroundColor:
    • Type: String.
  • OverlayBackgroundColor:
    • Type: String.
  • CustomOverlayBackgroundColor:
    • Type: String.
  • OverlayTextColor:
    • Type: String.
  • CustomOverlayTextColor:
    • Type: String.
  • IsNavigationChild:
    • Type: Boolean.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • textColor
  • customTextColor
  • backgroundColor
  • customBackgroundColor
  • overlayTextColor
  • customOverlayTextColor
  • overlayBackgroundColor
  • customOverlayBackgroundColor
  • fontSize
  • customFontSize
  • showSubmenuIcon
  • style

Paragraph

Start with the building block of all narrative.

Category: Text.

Source: View source on Github

Editor 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: .
    • __experimentalRole: Content.
  • 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.
  • Typography: fontSize: True. lineHeight: True.
  • __experimentalSelector: P.
  • __unstablePasteTextInline: True.

Post author

Add the author of this post.

Category: Theme.

Source: View source on Github

Editor 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.
  • Typography: fontSize: True. lineHeight: True.
  • Color: gradients: True. link: True. __experimentalDuotone: .wp-block-post-author__avatar img,

Context

Documentation

Uses context

  • postType
  • postId
  • queryId

Post comment author

Post comment author.

Category: Design.

Source: View source on Github

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-comment

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.

Context

Documentation

Uses context

  • commentId

Post comment content

Post comment content

Category: Design.

Source: View source on Github

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-comment

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.

Context

Documentation

Uses context

  • commentId

Post comment date

Post comment date.

Category: Design.

Source: View source on Github

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-comment

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

Post comment.

Category: Theme.

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

Display a posts comments count.

Category: Theme.

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.
  • Typography: fontSize: True. lineHeight: True.

Context

Documentation

Uses context

  • postId

Post comments form

Display a posts comments form.

Category: Theme.

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.
  • Typography: fontSize: True. lineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post comments link

Displays the link to the current post comments.

Category: Theme.

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: link: True. text: False.
  • Typography: fontSize: True. lineHeight: True.

Context

Documentation

Uses context

  • postType
  • postId

Post comments

Display a posts comments.

Category: Theme.

Source: View source on Github

Front CSS Class: wp-block-post-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

  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Align: wide, full,
  • Typography: fontSize: True. lineHeight: True.
  • Color: gradients: True. link: True.

Context

Documentation

Uses context

  • postId
  • postType

Post content

Displays the contents of a post or page.

Category: Theme.

Source: View source on Github

Editor 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.
  • __experimentalLayout: True.

Context

Documentation

Uses context

  • postId
  • postType
  • queryId

Post date

Add the date of this post.

Category: Theme.

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.
  • IsLink:
    • Type: Boolean.
    • Default: False.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Color: gradients: True. link: True.
  • Typography: fontSize: True. lineHeight: True. __experimentalFontWeight: True.

Context

Documentation

Uses context

  • postId
  • postType
  • queryId

Post excerpt

Display a posts excerpt.

Category: Theme.

Source: View source on Github

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

Front CSS Class: wp-block-post-excerpt

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.
  • MoreText:
    • Type: String.
  • ShowMoreOnNewLine:
    • Type: Boolean.
    • Default: True.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Color: gradients: True. link: True.
  • Typography: fontSize: True. lineHeight: True.

Context

Documentation

Uses context

  • postId
  • postType
  • queryId

Post featured image

Display a posts featured image.

Category: Theme.

Source: View source on Github

Editor 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.
  • Width:
    • Type: String.
  • Height:
    • Type: String.
  • Scale:
    • Type: String.
    • Default: Cover.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: left, right, 2: center, 3: wide, 4: full,
  • Color: __experimentalDuotone: img, text: False. background: False.
  • Html: False.

Context

Documentation

Uses context

  • postId
  • postType
  • queryId

Post navigation link

Displays the next or previous post link that is adjacent to the current post.

Category: Theme.

Source: View source on Github

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_

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 template

Contains the block elements used to render a post

Category: Design.

Source: View source on Github

Editor CSS Class: wp-block-post-template-editor

Front CSS Class: wp-block-post-template

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/query

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.
  • Align: True.
  • __experimentalLayout: allowEditing: False.

Context

Documentation

Uses context

  • queryId
  • query
  • queryContext
  • displayLayout
  • templateSlug

Post terms

Post terms.

Category: Design.

Source: View source on Github

Front CSS Class: wp-block-post-terms

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_ 0,external_wp_i18n_

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.
  • Separator:
    • Type: String.
    • Default: , .

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Html: False.
  • Color: gradients: True. link: True.
  • Typography: lineHeight: True. fontSize: True. __experimentalFontWeight: True.

Context

Documentation

Uses context

  • postId
  • postType

Post title

Displays the title of a post

Category: Theme.

Source: View source on Github

Front CSS Class: wp-block-post-title

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. link: True.
  • Typography: fontSize: True. lineHeight: True. __experimentalFontFamily: True.

Context

Documentation

Uses context

  • postId
  • postType
  • queryId

Preformatted

Add text that respects your spacing and tabs

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.
    • __experimentalRole: Content.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Color: gradients: True.
  • Typography: fontSize: True.

Transforms

Optional. Type: Object.

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

Documentation

Transforms from: paragraph

Transforms to: code, paragraph


Pullquote

Give special visual emphasis to a quote from your text.

Category: Text.

Source: View source on Github

Editor 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.
    • __experimentalRole: Content.
  • Citation:
    • Type: String.
    • Source: Html.
    • Selector: Cite.
    • Default: .
    • __experimentalRole: Content.
  • TextAlign:
    • Type: String.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Anchor: True.
  • Align: left, right, 2: wide, 3: full,
  • Color: gradients: True. background: True. link: True.
  • __experimentalBorder: color: True. radius: True. style: True. width: True.

Transforms

Optional. Type: Object.

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


Query pagination next

Displays the next posts page link.

Category: Design.

Source: View source on Github

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/query-pagination

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.
  • Typography: fontSize: True. lineHeight: True.

Context

Documentation

Uses context

  • queryId
  • query
  • paginationArrow

Query pagination numbers

Displays a list of page numbers for pagination

Category: Design.

Source: View source on Github

Editor CSS Class: query-pagination-numbers-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/query-pagination

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Reusable: False.
  • Html: False.

Context

Documentation

Uses context

  • queryId
  • query

Query pagination previous

Displays the previous posts page link.

Category: Design.

Source: View source on Github

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/query-pagination

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.
  • Typography: fontSize: True. lineHeight: True.

Context

Documentation

Uses context

  • queryId
  • query
  • paginationArrow

Query pagination

Displays a paginated navigation to next/previous set of posts

Category: Design.

Source: View source on Github

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

Front CSS Class: wp-block-query-pagination

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/query

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

  • PaginationArrow:
    • Type: String.
    • Default: None.

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

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

Context

Documentation

Provides context

  • paginationArrow

Uses context

  • queryId
  • query

Query title

Display the query title.

Category: Design.

Source: View source on Github

Editor CSS Class: wp-block-query-title-editor

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_

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

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

Supports

Optional. Type: Object.

Optional block extended support features.

Documentation

  • Align: wide, full,
  • Html: False.
  • Color: gradients: True.
  • Typography: fontSize: True. lineHeight: True. __experimentalFontFamily: True.

Query

An advanced block that allows displaying post types based on different query parameters and visual configurations.

Category: Theme.

Source: View source on Github

Editor CSS Class: wp-block-query-editor

Block variation

0,external_wp_i18n_ 0,external_wp_i18n_ excluding sticky posts, 0,external_wp_i18n_ Date, 0,external_wp_i18n_ Excerpt, 0,external_wp_i18n_ Date, & Excerpt, 0,external_wp_i18n_ Date, & Title,

CSS Class: wp-block-query

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,
        • TagName:
          • Type: String.
          • Default: Div.
        • DisplayLayout:
          • Type: Object.
          • Default: type: list,

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

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

        Context

        Documentation

        Provides context

        • queryId
        • query
        • displayLayout

        Quote

        Give quoted text visual emphasis. \In quoting others

        Category: Text.

        Source: View source on Github

        Editor 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: .
          • __experimentalRole: Content.
        • Citation:
          • Type: String.
          • Source: Html.
          • Selector: Cite.
          • Default: .
          • __experimentalRole: Content.
        • Align:
          • Type: String.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Anchor: True.

        Transforms

        Optional. Type: Object.

        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


        Rss

        Display entries from any RSS or Atom feed.

        Category: Widgets.

        Source: View source on Github

        Editor 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

        Editor 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.
          • __experimentalRole: Content.
        • ShowLabel:
          • Type: Boolean.
          • Default: True.
        • Placeholder:
          • Type: String.
          • Default: .
          • __experimentalRole: Content.
        • Width:
          • Type: Number.
        • WidthUnit:
          • Type: String.
        • ButtonText:
          • Type: String.
          • __experimentalRole: Content.
        • 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,
        • Color: gradients: True. __experimentalSkipSerialization: True.
        • __experimentalBorder: color: True. radius: True. __experimentalSkipSerialization: True.
        • Html: False.

        Separator

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

        Category: Design.

        Source: View source on Github

        Editor 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

        Editor 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

        Display a graphic to represent this site. Update the block

        Category: Layout.

        Source: View source on Github

        Editor 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.
        • IsLink:
          • Type: Boolean.
          • Default: True.
        • LinkTarget:
          • Type: String.
          • Default: _self.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Html: False.
        • Align: True.
        • AlignWide: False.

        Site tagline

        Describe in a few words what the website is about. The tagline can be used in search results or when sharing on social networks even if its not displayed in the theme design.

        Category: Design.

        Source: View source on Github

        Editor CSS Class: wp-block-site-tagline-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.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Html: False.
        • Color: gradients: True.
        • Spacing: margin: True. padding: True.
        • Typography: fontSize: True. lineHeight: True. __experimentalFontFamily: True. __experimentalFontWeight: True. __experimentalTextTransform: True. __experimentalLetterSpacing: True.

        Site title

        Displays and allows editing the name of the site. The site title usually appears in the browser title bar

        Category: Design.

        Source: View source on Github

        Editor CSS Class: wp-block-site-title-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

        • 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. text: False. link: True.
        • Spacing: padding: True. margin: True.
        • Typography: fontSize: True. lineHeight: True. __experimentalFontFamily: True. __experimentalTextTransform: True. __experimentalFontStyle: True. __experimentalFontWeight: True. __experimentalLetterSpacing: True.

        Social link

        Display an icon linking to a social media profile or website.

        Category: Widgets.

        Source: View source on Github

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

        Block variation

        WordPress, 500px, Amazon, Bandcamp, Behance, Link, CodePen, DeviantArt, Dribbble, Dropbox, Etsy, Facebook, RSS Feed, Flickr, Foursquare, Goodreads, Google, GitHub, Instagram, Lastfm, LinkedIn, Mail, keywords email, e-mail Mastodon, Meetup, Medium, Patreon, Pinterest, Pocket, Reddit, Skype, Snapchat, SoundCloud, Spotify, Telegram, TikTok, Tumblr, Twitch, Twitter, Vimeo, VK, Yelp, YouTube,

        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
        • iconColorValue
        • iconBackgroundColorValue

        Social links

        Display icons linking to your social media profiles or websites.

        Category: Widgets.

        Source: View source on Github

        Editor 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.
        • __experimentalExposeControlsToChildren: True.
        • __experimentalLayout: allowSwitching: False. allowInheriting: False. Default: type:

        Context

        Documentation

        Provides context

        • openInNewTab
        • iconColorValue
        • iconBackgroundColorValue

        Spacer

        Add white space between blocks and customize its height.

        Category: Design.

        Source: View source on Github

        Editor 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.
        • Width:
          • Type: Number.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Anchor: True.

        Context

        Documentation

        Uses context

        • orientation

        Table of contents

        Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.

        Category: Layout.

        Source: View source on Github

        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

        • OnlyIncludeCurrentPage:
          • Type: Boolean.
          • Default: False.

        Supports

        Optional. Type: Object.

        Optional block extended support features.

        Documentation

        • Html: False.

        Context

        Documentation

        Uses context

        • postId

        Table

        Create structured content in rows and columns to display information.

        Category: Text.

        Source: View source on Github

        Editor 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.
        • 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.
              • Color: __experimentalSkipSerialization: True. gradients: True.
              • __experimentalBorder: __experimentalSkipSerialization: True. color: True. style: True. width: True.
              • __experimentalSelector: .wp-block-table > table.

              Tag cloud

              A cloud of your most used tags.

              Category: Widgets.

              Source: View source on Github

              Editor 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

              • NumberOfTags:
                • Type: Number.
                • Default: 45.
                • Minimum: 1.
                • Maximum: 100.
              • 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

              Edit the different global regions of your site

              Category: Theme.

              Source: View source on Github

              Editor 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.
              • Area:
                • Type: String.

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Align: True.
              • Html: False.
              • Color: gradients: True. link: True.
              • Spacing: padding: True.
              • __experimentalLayout: True.

              Term description

              Category: Theme.

              Source: View source on Github

              Editor CSS Class: wp-block-term-description-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.

              Supports

              Optional. Type: Object.

              Optional block extended support features.

              Documentation

              • Align: wide, full,
              • Html: False.
              • Color: link: True.
              • Typography: fontSize: True. lineHeight: True.

              Text columns

              This block is deprecated. Please use the Columns block instead.

              Category: Design.

              Source: View source on Github

              Editor CSS Class: wp-block-text-columns-editor

              Front CSS Class: wp-block-text-columns

              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: Array.
                • Source: Query.
                • Selector: P.
                • Query:
                  • children:
                    • type: string.
                    • source: html.
                • Default:
                  • 0:

                    • 1:
                  • Columns:
                    • Type: Number.
                    • Default: 2.
                  • Width:
                    • Type: String.

                  Supports

                  Optional. Type: Object.

                  Optional block extended support features.

                  Documentation

                  • Inserter: False.

                  Verse

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

                  Category: Text.

                  Source: View source on Github

                  Editor 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.
                    • __experimentalRole: Content.
                  • TextAlign:
                    • Type: String.

                  Supports

                  Optional. Type: Object.

                  Optional block extended support features.

                  Documentation

                  • Anchor: True.
                  • Color: gradients: True. link: True.
                  • Typography: fontSize: True. __experimentalFontFamily: True.
                  • Spacing: padding: True.

                  Transforms

                  Optional. Type: Object.

                  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

                  Editor 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.