Linux 软件免费装
Banner图

Baer Block-Aware Excerpts

开发者 anthonybaer
更新时间 2026年8月27日 23:09
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

content blocks rest api excerpts query loop

下载

0.1.0

详情介绍:

Choose a word or visible-character limit, suffix, applicable public post types, and whether manual excerpts always win. Baer Block-Aware Excerpts removes blocks, shortcodes and markup before truncation and works through WordPress's normal excerpt API. Character limits preserve Unicode grapheme clusters, so combined emoji and accented characters are not split in the middle. The plugin does not contact external services or collect telemetry.

安装:

  1. Upload the plugin directory or install the release ZIP.
  2. Activate Baer Block-Aware Excerpts.
  3. Open Settings > Baer Block-Aware Excerpts and select the desired rules.

常见问题:

Are manual excerpts overwritten?

Not when "Always preserve manually written excerpts" is enabled.

Does this change stored post content?

No. Excerpts are generated at display time through WordPress's excerpt API.

What is removed before truncation?

Block comments, shortcodes and HTML markup are removed and whitespace is normalized.

更新日志:

0.1.0