🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
GT Table Block
GT Table Block

GT Table Block

0/5 (0 ratings) — active installs Updated May 6, 2026

GT Table Block extends the built-in core/table block with optional features that compose cleanly — each feature is an independent toggle, not a block style, so any combination can be active on the same table.

Available in this release:

  • Sticky header row — the <thead> row pins to the top of the viewport while the table body scrolls. Includes a numeric offset control for sites with a fixed admin bar or site header. Pure CSS at runtime (no frontend JavaScript). The sticky background is an opaque CSS variable with full theme.json customization support (see FAQ below).
  • Styled first column — gives the first column the same visual weight as the header row (bold, optional themeable background) and adds scope="row" to those cells in the saved markup so screen readers announce them as row headers. Addresses Gutenberg core issue #1470 (open since 2017). Pure CSS for the styling; the a11y attribute is added at save time only, so the editor preview stays unchanged.

Planned for future releases:

  • Sticky first column for wide tables with horizontal scroll — v0.3.0.
  • Merge / unmerge cells via a block toolbar control — v0.4.0.

Why a variation, not a replacement block?

The plugin deliberately extends core/table rather than forking it, so existing tables stay compatible with core as it evolves. Independent boolean attributes also let any combination of features be active at once — which block styles (a mutually exclusive radio group) cannot offer.

Source code

Source code, build tools, issue tracker, and development log: https://github.com/bph/gt-table-block

The plugin is built with @wordpress/scripts (see the repository’s README for build instructions). Each tagged release on GitHub corresponds to the stable tag published here.