Term Template


Contains the block elements used to render a taxonomy term, like the name, description, and more.

  • Name: core/term-template
  • Category: theme
  • API Version: 3
  • Block Type: Hybrid (static save + server enhancements)

Block Relationships

Ancestor blocks:
core/terms-query

Attributes

Defined via the attributes property in block.json.

This block has no custom attributes.

Supports

Defined via the supports property in block.json.

Context

Defined via the usesContext and providesContext properties in block.json.

Uses context:

  • termQuery

Block Markup

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

<!-- wp:term-template /-->

Source