Column


A single column within a columns block.

  • Name: core/column
  • Category: design
  • API Version: 3
  • Block Type: Static (saved in post content)

Block Relationships

Parent blocks (direct):
core/columns

Attributes

Defined via the attributes property in block.json.

Attribute Type Default Description
verticalAlignment string
width string
templateLock string \| boolean Enum: all, insert, contentOnly, false

Supports

Defined via the supports property in block.json.

Block Markup

This is a static block. The markup is saved directly in the post content.

<!-- wp:column -->
<div class="wp-block-column">
    <!-- wp:paragraph -->
    <p>Column One, Paragraph One</p>
    <!-- /wp:paragraph -->
    <!-- wp:paragraph -->
    <p>Column One, Paragraph Two</p>
    <!-- /wp:paragraph -->
</div>
<!-- /wp:column -->

Source