List


An organized collection of items displayed in a specific order.

  • Name: core/list
  • Category: text
  • API Version: 3
  • Block Type: Hybrid (static save + server enhancements)
  • Keywords: bullet list, ordered list, numbered list

Block Relationships

Allowed inner blocks:
core/list-item

Attributes

Defined via the attributes property in block.json.

Attribute Type Default Description
ordered boolean false Role: content
values string "" Source: html. Selector: ol,ul. Role: content
type string
start number
reversed boolean
placeholder string

Supports

Defined via the supports property in block.json.

CSS Selectors

Defined via the selectors property in block.json.

  • border: .wp-block-list:not(.wp-block-list .wp-block-list)

Block Markup

This is a hybrid block. It saves static markup that the server may enhance during rendering.

<!-- wp:list {"ordered":false,"values":""} -->
<!-- Content... -->
<!-- /wp:list -->

Source