Beschrijving
HGW Better internal link search for Block editor improves the default internal link search inside the block editor by adding a post type or category selector to the link popup.
This allows editors to narrow down search results to specific post types such as Posts, Pages, or custom post types.
Features
- Adds a clean “post type and category filter” dropdown above Block editor link search results.
- Works with all REST-visible and publicly queryable post types.
- No database queries or custom endpoints — fully uses WordPress core APIs.
- Loads only inside the editor, never on the front-end.
- Lightweight, fast, and compatible with all major themes and plugins.
Schermafbeeldingen



Installatie
- Upload plugin folder to the
/wp-content/plugins/directory - Activate HGW Better internal link search for Block editor through the Plugins menu.
- Open any post or page in the block editor.
- Click the “Link” icon inside a text block.
- You’ll now see a new Type dropdown above the search results.
FAQ
-
Does this plugin affect front-end performance?
-
No. It only loads within the WordPress block editor (
enqueue_block_editor_assets) and has zero effect on the front-end. -
Does it support custom post types?
-
Yes. Any registered post type that is viewable and exposed through the REST API will automatically appear in the list.
-
Does it support taxonomies like category or product_cat?
-
Yes. Any public REST-enabled taxonomy can be enabled from the plugin settings.
-
Can I choose which post types/taxonomies to include?
-
Yes. Visit Settings HGW Internal Link Filter to customize the options.
-
Is this compatible with WooCommerce, EDD or custom builders?
-
Yes, as long as they use Block editor native LinkControl component and it detects and supports
product,download, and related taxonomies automatically.
Beoordelingen
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“HGW Better internal link search for Block editor” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“HGW Better internal link search for Block editor” is vertaald in 1 locale. Dank voor de vertalers voor hun bijdragen.
Vertaal “HGW Better internal link search for Block editor” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0.2
- NEW: Compatibility with WordPress 6.9
- Improved: Improved description and naming of plugin functions
1.0.1
- NEW: Add taxonomy support to filter (e.g., category, product_cat)
- NEW: Add Settings page
- NEW: Ability to configure included post types & taxonomies
- NEW: Added “Settings” link in plugin list for quick access
- CHANGED: Default selection is now “All” — no preselected type
1.0.0
- Initial release.
- Added Post Type dropdown to Block editor LinkControl.
- Automatic detection of REST-visible post types.
- Zero front-end impact, editor-only integration.
- Output of inline JS configuration to use wp_json_encode() with JSON_HEX_* flags.
