Linux 软件免费装
Banner图

Code and Core Remove Empty P Tags

开发者 codeandcore
更新时间 2026年5月6日 18:20
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

content gutenberg formatting acf cleanup

下载

2.0.1 1.0.0 2.0.0 1.1.0

详情介绍:

The Code and Core Remove Empty P Tags is a powerful yet lightweight plugin that helps you eliminate unwanted spacing in your WordPress content. With version 2.0.0, we've introduced complete flexibility with two cleanup modes:
  1. Frontend Cleanup (Recommended): Automatically cleans content as it's displayed on your site. This is non-destructive, meaning your database remains untouched while your visitors see perfectly clean content.
  2. Backend Cleanup (Editor-based): Adds a checkbox to your post/page editor. When checked, content is cleaned and saved directly to the database.
What it removes:

安装:

  1. Upload the code-and-core-remove-empty-p-tags folder to /wp-content/plugins/.
  2. Activate the plugin in the Plugins menu.
  3. Navigate to Settings > Remove Empty P Tags to configure your cleanup preferences.
  4. Choose your preferred mode (Frontend or Backend) and select the post types to clean.

屏幕截图:

  • Privacy & Telemetry settings for transparent data sharing.
  • Backend mode: The cleanup checkbox in the post editor sidebar.
  • Frontend mode: Clean output without touching the database.

升级注意事项:

2.0.1 Enhanced telemetry privacy: All tracking is now strictly blocked once a user opts out. 2.0.0 Major update! New settings page, Frontend cleanup mode, and Block Editor/ACF support.

常见问题:

Does the plugin work with the Block Editor (Gutenberg)?

Yes! Version 2.0.0 fully supports the Block Editor. You can enable or disable this in the settings.

Can I use it for Custom Post Types?

Yes. You can select which post types (including CPTs) should be processed in the plugin settings.

Does it support ACF?

Yes. There is a built-in option to clean Advanced Custom Fields content.

What is the difference between Frontend and Backend modes?

Frontend mode cleans the content on-the-fly when a visitor views the page (non-destructive). Backend mode requires you to check a box in the editor to clean and save the changes permanently to the database.

更新日志:

2.0.1 2.0.0 1.0.0