Linux 软件免费装
Banner图

Pull Quotes

开发者 aaroncampbell
更新时间 2026年7月20日 05:19
PHP版本: 8.3 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

accessibility writing block editor typography pull quote

下载

1.0.0 1.0.1 1.0.2 2.0.0

详情介绍:

Pull Quotes adds an inline Rich Text format to the block editor. Select text, choose Pull quote, then set its offset, direction, and alignment. The selected sentence remains in the body. On the front end, Pull Quotes removes the inline authoring marker and inserts an aria-hidden decorative aside before the resolved block. Rendering is performed server-side and does not require jQuery. Version 2.0 supports block-authored content only and does not render legacy pullquote shortcodes at runtime. Collaborate on the plugin: Pull Quotes on GitHub Brought to you by Aaron D. Campbell

安装:

  1. Install and activate Pull Quotes.
  2. In the block editor, select text in a Rich Text block and choose Pull quote from the block toolbar.
  3. Choose an offset, direction, and alignment, then apply the format.

屏幕截图:

  • The selected sentence remains in the article while a styled pull quote is positioned alongside the surrounding text.

升级注意事项:

2.0.0 Requires WordPress 7.0 and PHP 8.3. Block content can be batch-migrated under Tools → Pull Quotes Migration; classic posts should be converted to blocks in the editor.

常见问题:

What does an offset of zero do?

It inserts the floated aside immediately before the block containing the selected sentence.

How are larger offsets resolved?

The plugin moves through visible authored blocks in the selected back or forward direction. Parser whitespace, generated pull quotes, and moves out of nested containers do not count. The aside is inserted before the resolved block.

What happens to the original sentence?

It stays in the body's normal reading flow. Only the duplicate aside is hidden from assistive technology.

How do I migrate legacy shortcodes?

Use Tools → Pull Quotes Migration for existing block posts, or run wp pull-quotes migrate. Use wp pull-quotes migrate --dry-run to preview the batch. For a classic post, open it and use Convert to blocks; the editor converts pullquote shortcodes during Core's conversion.

Does version 2.0 support the Classic Editor?

No. Version 2.0 is block-only, and legacy pullquote shortcodes are not registered as a runtime shortcode.

更新日志:

2.0.0 1.0.2 1.0.1 1.0.0