GT Table Block

GT Table Block

Details
View on WordPress

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).

Planned for future releases:

  • Styled first column (header column) with scope="row" semantics — v0.2.0.
  • 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.

Details

Plugin code:
gt-table-block
Plugin version:
0.1.1
Outdated:
No
WP version:
6.6 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.9.4
Total installations:
0
Last updated:
2026-05-04
Rating:
Times rated:
0
block
block-editor
block-variation
gutenberg
table