WP Manifestindependent plugin directory
manifest / editor / post-terms-block-unlinked

Post Terms Block Unlinked WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Extends the core Post Terms block with GatherPress-aware super-powers: neutralise term links per block, and rewrite shadow-taxonomy term links to their source post permalinks.

★ 0stars
88release downloads
≈10active sites
0.2.0latest · 3mo ago

Install

Download post-terms-block-unlinked.zip From the 0.2.0 release on GitHub, Jul 10, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/carstingaxion/post-terms-block-unlinked/releases/download/0.2.0/post-terms-block-unlinked.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Description

Extends the core Post Terms block with GatherPress-aware super-powers: neutralise term links per block, and rewrite shadow-taxonomy term links to their source post permalinks — without replacing the block or sacrificing any of its native styling controls.

No new block to learn — just activate the plugin and the core Post Terms block gains new capabilities.

Super-powers

1 · Neutralise Links

A toggle in the block sidebar ("Post Terms Block Unlinked → Neutralise links") lets editors disable term links on a per-block basis.

When enabled:

  • Each term link's href is replaced with # on the frontend.
  • The has-ptbu-unlinked modifier class is added to the block wrapper, which resets the cursor and removes underline decoration.
  • The <a> element is kept intact so all editor-applied link styles (color, typography, border, spacing) cascade through unchanged.
  • The frontend stylesheet is loaded on demand — only when at least one block on the page has the toggle enabled.

When disabled (the default), the block output is left completely untouched.

2 · Shadow-taxonomy source links

GatherPress shadow-source taxonomies (_gatherpress_venue, _gatherpress_production, etc.) are always registered with rewrite=false, so WordPress has no archive URL for their terms. The core core/post-terms block renders those terms as anchors pointing to non-existent term archives.

This super-power automatically detects when a Post Terms block is displaying a GP shadow taxonomy and rewrites each term's href to the source post's own permalink — so a venue term links to its venue post, a production term links to its production post, and so on.

  • Detection is taxonomy-driven: any taxonomy whose slug starts with _ and whose derived post type declares gatherpress-shadow-source support is treated as a shadow taxonomy.
  • No block attribute or editor toggle required — the rewrite happens automatically for every shadow-taxonomy Post Terms block on the frontend.
  • Runs at filter priority 5, before the Neutralise Links filter (priority 10), so both super-powers can be combined on the same block.

Requirements

  • WordPress 6.4 or later
  • PHP 7.4 or later
  • GatherPress

Installation

  1. Ensure GatherPress is installed and active.
  2. Upload the post-terms-block-unlinked folder to /wp-content/plugins/.
  3. Activate the plugin through the Plugins screen in WordPress.

Frequently Asked Questions

Does this work inside Query Loop blocks?

Yes, fully. The filter runs on every instance of core/post-terms regardless of context, including nested Query Loop blocks.

Can I customise the unlinked styles?

Yes. Target .has-ptbu-unlinked a in your theme's CSS to override or extend the default cursor: default / no-underline rules.

Is the frontend stylesheet always loaded?

No. It is enqueued on demand inside the render filter — only when at least one block on the current page has "Neutralise links" enabled. It is printed in the footer via WordPress's late-style mechanism.

Changelog

All notable changes to this project will be documented in the CHANGELOG.md.

License

This plugin is licensed under the GPLv2 or later.

Releases

3 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
0.2.0 latest
Jul 10, 2026 3mo ago
post-terms-block-unlinked.zip
72
Jul 7, 2026 3mo ago
post-terms-block-unlinked.zip
16
Jul 7, 2026 3mo ago
tag only
—

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

A grade

Security

Post Terms Block Unlinked 0.2.0 · audited by WP Registry

No security issues found.

Audited release
0.2.0
Findings
none
Worst severity
—
Content hash
3585eacd9bc5137699ff80ed…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.