| 开发者 | jessenaylor |
|---|---|
| 更新时间 | 2026年1月5日 11:29 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
p, li, h1–h6, blockquote, figcaption, dd, dt
You can override the selector via JavaScript:
window.TextOrphansRemoverSelector = 'p, li, .my-class';
/wp-content/plugins/ (or upload the ZIP via Plugins → Add New).No. This plugin never loads in the admin area.
Yes. Set window.TextOrphansRemoverSelector before the script runs (e.g. in your theme’s footer or a small custom plugin).
No. The script updates text nodes only and does not rewrite your HTML markup.