[WordPress] 外掛分享: Code and Core Remove Empty P Tags

WordPress 外掛 Code and Core Remove Empty P Tags 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Code and Core Remove Empty P Tags」是 2025-11-20 上架。
  • 目前有 50 個安裝啟用數。
  • 上一次更新是 2025-11-25,距離現在已有 93 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

codeandcore |

外掛標籤

cleanup | content | wp editor | formatting | paragraphs |

內容簡介

總結:
這款「Code and Core 移除空白P標籤」外掛可幫助你保持 WordPress 內容的整潔,主要功能包括移除空的 <p> 標籤以及僅包含 &nbsp; 內容的 <p> 標籤。提供的介面中新增了一個核取方塊,若勾選後在存檔時可清除內容。然而,此外掛並非自動運作,只有當使用者選擇清除內容時才會執行。

1. 這個外掛的主要功能是什麼?
- 移除空的 <p> 標籤及僅包含 &nbsp; 內容的 <p> 標籤。

2. 運作方式為何?
- 使用 WordPress 預設編輯器編輯文章或頁面。
- 會出現一個核取方塊標籤:「移除空白段落和不可斷行空格」。
- 勾選核取方塊後,外掛會掃描內容並移除空的 <p> 標籤及僅包含 &nbsp; 內容的 <p> 標籤。

3. 為什麼要使用這個外掛?
- 避免因空白段落導致不必要的間距。
- 保持 HTML 的乾淨以提高可讀性。
- 適用於部落客、編輯人員和開發者。
- 不需要進行任何配置。
- 提供手動控制而非自動清理。

4. 這個外掛的授權是什麼?
- 釋出授權為 GPL v2 或更新的版本。
- 你可以根據 GNU 通用公共許可證第2版或更新版本的條款自由使用、修改和分發這個外掛。

5. 有關隱私政策的資訊?
- 這個外掛不會收集、儲存或處理任何個人資料。

原文外掛簡介

The Code and Core Remove Empty P Tags plugin helps keep your WordPress content clean by removing:

Empty

tags

tags that contain only  

A checkbox is added in the default WordPress editor for posts and pages.
When the box is checked, the plugin cleans your content during save.
This plugin does not work automatically — it only runs when the user chooses to clean the content.
Important Limitations:

✔️ Only works with Posts and Pages
✔️ Works only with the default WordPress editor
✔️ Cleaning happens only when the checkbox is selected
❌ Does not work with Custom Post Types
❌ Does not work with Elementor, Divi, WPBakery, or other page builders

Key Features

✔️ Removes empty

tags
✔️ Removes

 

✔️ Checkbox inside the editor allows manual cleanup
✔️ Lightweight and simple
❌ Not automatic — cleaning happens only if enabled
❌ No effect on custom post types or page builders

How It Works

Edit a post or page using the WordPress default editor.
A checkbox will appear labeled: “Remove empty paragraphs and non-breaking spaces”
When the checkbox is checked, the plugin scans your content and removes:

 

The cleaned content is saved; the original content remains unchanged unless you choose cleanup.

Why Use This Plugin?

Avoid unwanted spacing caused by blank paragraphs
Keep HTML cleaner for better readability
Great for bloggers, editors, and developers
No configuration required
Provides manual control instead of automatic cleanup

License
This plugin is released under the GPL v2 or later license.
You are free to use, modify, and distribute this plugin under the terms of the GNU General Public License version 2 or later.
Privacy Policy (With User Allow/Consent Button)
This plugin does not collect, store, or process any personal or user-identifiable information without the site administrator’s explicit consent.
Data Collected
To help improve plugin stability and ensure safe updates, the plugin sends a small amount of anonymous technical information to our server when certain events occur (activation, update, or deactivation).
The following data may be collected:

Site URL
WordPress version
PHP version
Plugin version
Theme name and version
Multisite status
Site language
Plugin event type (activation, deactivation, update)
Event timestamp

No personal data, user information, email addresses, login details, or IP addresses are collected or transmitted.
How the Data Is Used
This anonymous technical data is used solely for:

Compatibility tracking
Update testing
Debugging issues
Ensuring future plugin versions work reliably

We do not use the data for marketing or profiling, and we do not share or sell any data.
Data Retention
Anonymous diagnostic data is retained only as long as necessary for debugging and compatibility analysis, and is then removed.
User Control
Because no personal or identifiable data is collected, no user action or consent is required.
If desired, site administrators may request that all diagnostic reporting be disabled by contacting us.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Code and Core Remove Empty P Tags」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • tinyWYM Editor 》tinyWYM Editor 是為了協助 WordPress 使用者創建更乾淨、更具語意的標記,並避免 WordPress 標準的所見即所得編輯器的一些問題而創建的。它通過標記和突顯編...。
  • f(x) Editor 》f(x) Editor 是一個插件,透過啟用 WordPress 功能,例如分頁和文字背景顏色/突顯,提升您的內容編輯體驗。, 您也可以輕鬆地創建資訊框、彩色按鈕和欄位,使...。
  • Free Responsive Tab Plugin For WordPress – Everest Tab Lite 》說明文件 | 支援 | Demo | 費用付費版, Everest Tab Lite, 利用點擊、拖曳等方式輕鬆創建多個選項卡 - Everest Tab Lite, Everest Tab Lite 是一個免費的 Wor...。
  • Frontier Buttons 》Frontier Buttons特意設計簡單易用🙂, 主要功能, , 拖放式設計自己網站工具欄的設置。, 啟用評論的視覺編輯器, 5種不同的編輯器佈局, , 標準版, 高級版, 基本...。
  • Recent Posts on Editor 》「Recent Posts on Editor」是 WordPress 的外掛程式,可在 WordPress 編輯器的頁面小工具上顯示最近的內容 (文章、頁面或自訂文章類型)。透過此外掛,您可以...。

文章
Filter
Mastodon