plugin-icon

GT Table Block

Sticky header and styled first column for the core Table block, delivered as an opt-in block variation that leaves existing tables untouched.
Version
0.2.0
Aktive Installationen
100
Zuletzt aktualisiert
May 19, 2026
GT Table Block

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.

Kostenlosmit kostenpflichtigen Tarifen
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 6.9.4
Dieses Plugin steht für deine -Website zum Download zur Verfügung.