Post Terms – core/post-terms

Use the Post Terms block to display the post’s categories or tags.

Screenshot

Example

This post type doesn’t have Categories or Tags so here’s an example of the Post Terms block displaying the terms from the Block Letters taxonomy.


,
<!-- wp:post-terms {"term":"block_letters"} /-->

Notes

  • Settings include Colour, Typography
  • Advanced settings include: Separator and Additional CSS class(es)
  • The default separator is ‘, ‘: a comma followed by a blank.
  • When created programmatically the Post Terms block’s variation needs to be selected; set the term attribute to the required taxonomy: category or post_tags.
  • You can also set the term attribute to a custom taxonomy name. eg block_letters as used in the example above.