HGW Better internal link search for Block editor

描述

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.

屏幕截图

安装

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate HGW Better internal link search for Block editor through the Plugins menu.
  3. Open any post or page in the block editor.
  4. Click the “Link” icon inside a text block.
  5. You’ll now see a new Type dropdown above the search results.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「HGW Better internal link search for Block editor」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「HGW Better internal link search for Block editor」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「HGW Better internal link search for Block editor」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.