跳至主要內容

前言介紹
- 這款 WordPress 外掛「Don't Muck My Markup」是 2012-12-29 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 3000 個安裝啟用數。
- 上一次更新是 2019-11-17,距離現在已有 1995 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.9 以上版本才可以安裝。
- 有 17 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
martyn-chamberlin |
外掛標籤
wpautop | remove markup | default formatting | disable auto formatting |
內容簡介
如果你曾經在 WordPress 博客文章或頁面中寫了大量 HTML,你就會發現你的精美標記被包在了
標籤中,這樣做會讓人很恼火。如果加入了 jQuery,問題只會變得更糟。毕竟,是誰允許 WordPress 在
原文外掛簡介
If you’ve ever had a WordPress blog post or page in which you found yourself writing more than a little HTML, you’ve experienced the frustration of finding your beautiful markup surrounded in
tags. The problem only gets worse when you start throwing jQuery into the mix. Who on earth gave WordPress permission to throw in
tags inside a
First, we could use conditional logic to require an external PHP file. This was bad for several reasons.
It’s not friendly for the end user. Who wants to have to edit a PHP file?
The content is not in the WordPress database, which means it isn’t searchable inside the dashboard, and it isn’t backed up with the rest of the site.
It removes framework functionality. Robust WordPress frameworks have places to add content above and below the main post content area, and an external PHP file destroys this greatly.
The second option is to use the existing plugins to disable WordPress formatting, but none of these plugins empower the user to toggle this setting on a page-by-page basis. After all, most articles don’t have that much HTML in them. Nobody wants to go through 500 old blog posts and manually add
tags to them, do they? We didn’t think so either.
As a web designer that’s used WordPress successfully for several years, I finally decided these shenanigans had to stop once and for good. I built a simple but elegant plugin that lets you disable auto-generated HTML on a page-by-page basis.
I hope you use and enjoy Don’t Muck My Markup as much as I enjoyed building it.
Note: this plugin does not work on all WordPress themes, because some themes don’t handle the filter sequence correctly. This plugin does work for well-programmed themes such as the Twenty Fourteen theme and the Genesis Framework (and child themes).
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Don't Muck My Markup」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
最新版本
延伸相關外掛(你可能也想知道)
Toggle wpautop 》注意:此外掛不支援區塊編輯器,但當您在自訂文章類型中使用並搭配經典編輯器外掛時,應可繼續正常工作。, 在 WordPress 顯示文章內容之前,該內容會經過多個...。
Preserved HTML Editor Markup Plus 》這個外掛保留了使用者在 TinyMCE 編輯器中產生的 HTML 標記。不像其他外掛,這個外掛允許開發人員在 HTML 標籤中工作,同時讓終端使用者在所見即所得的視覺化...。
Disable WPautop 》這個外掛可以在文章內容和摘要中關閉 wpautop 功能。
wpautop control 》這個外掛誕生於一個非常簡單的需求。在過去,當 wpautop 過濾器非常糟糕時,我感到很煩惱,就在我的博客中關閉了它。然而,多年後,我(但主要是我的共同作者...。
Disable Automatic P Tags 》透過安裝此外掛,您可以告別不需要的自動插入段落標籤,從而讓您的網頁標記更加美觀,且再也不必擔心出現不必要的換行符號。, Github:https://github.com/bi...。
Preserved HTML Editor Markup 》這個外掛會保留使用者在 TinyMCE 編輯器中產生的 HTML 標記。不同於其他外掛,這個外掛允許開發人員在 HTML 標籤中工作,以及最終使用者在 WYSIWYG 可視化標...。
Empty P Tag 》這個外掛可以從 the_content、the_excerpt 和 widget_text_content 中刪除額外的 p 和 br 標籤。。
Remove Blank P Tag 》這是一款非常簡單的外掛程式,可以在文章和頁面編輯器中刪除多餘的 p 和 br 標籤。此外掛可以從 the_content、the_excerpt 和 widget_text_content 中刪除額...。
Remove Wpautop 》此外掛可以移除在 the_content 和 the_excerpt 中多餘的 p 和 br 標籤。。
Un-Line-Break 》, , , 此外掛現在正在尋找收養者。, , Un-Line-Break 是一個輕量級的外掛,其主要目的是為了提升短代碼的可讀性。, 通常在文章編輯器中將短代碼放在不同的行...。
No Format Shortcode 》這個外掛提供了一個短碼,可選擇性地停用 WordPress 的自動格式設定。對於任何想編寫自訂 HTML 的使用者非常有用,但不想完全停用 wpautop。, 使用方法, 將任...。
Wpautop Mask 》這個外掛能夠在指定的短代碼標籤中禁用 WordPress (wpautop) 的自動格式化功能。, 這個外掛可以幫助你:, , 使用 HTML 撰寫文章, 在文章中插入程式碼片段 (HT...。
Remove empty p tag 》此外掛可從 the_content 中移除額外的 p 與 br 標籤。。
Make Autop 》安裝 Dean's FCKEditor for WordPress 後,您需要對所有文章和頁面應用 wpautop()。 , 安裝 Dean's FCKEditor for WordPress 後,您需要對所有文章和頁面進行...。