Categories – core/categories

Categories block – Display a list of all categories.

The Categories block, part of WordPress core, displays a list of all Categories. Settings allow you to choose the display format.

Screenshot

Example


Notes

  • The Categories block only displays the Categories taxonomy.
  • Categories Settings let you choose your display options: Display as Dropdown, Show Hierarchy, Show Post Counts.
  • See also Latest posts.
  • Change alignmentUse Change alignment to choose the alignment
    • Align leftAlign to the left
    • Align centerAlign in the center
    • Align rightAlign to the right
    • Wide widthIncrease the width of the block beyond the content size. Requires theme support.
    • Full widthExtend the block to cover the full width of the screen. Requires theme support.

Categories transforms to:

  • Columns
  • Group