[WordPress] 外掛分享: Toggle wpautop

WordPress 外掛 Toggle wpautop 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Toggle wpautop」是 2013-02-24 上架。
  • 目前有 10000 個安裝啟用數。
  • 上一次更新是 2021-04-07,距離現在已有 1137 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 32 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

aware | desrosj | linchpin_agency |

外掛標籤

editor | excerpt | wpautop | formatting | post content |

內容簡介

注意:此外掛不支援區塊編輯器,但當您在自訂文章類型中使用並搭配經典編輯器外掛時,應可繼續正常工作。

在 WordPress 顯示文章內容之前,該內容會經過多個過濾器以確保它安全地顯示在編輯器中輸入的方式一樣。

其中之一的過濾器是wpautop,它會將雙換行符替換為<p>標籤,並將單換行符替換為<br />標籤。然而,當您在文章編輯器中輸入大量 HTML 標記時,此過濾器有時會引起問題。

此外掛會在發佈的文章編輯畫面的發佈元塊中顯示複選框,以禁用該文章的wpautop過濾器。

此外掛還將「wpautop」或「no-wpautop」類添加到文章類別過濾器中以幫助 CSS 樣式設計。

原文外掛簡介

Note: This plugin does not support the block editor but should continue to work without issue when using it with custom post types and the Classic Editor Plugin.
Before WordPress displays a post’s content, the content gets passed through multiple filters to ensure that it safely appears how you enter it within the editor.
One of these filters is wpautop, which replaces double line breaks with

tags, and single line breaks with
tags. However, this filter sometimes causes issues when you are inputting a lot of HTML markup in the post editor.
This plugin displays a checkbox in the publish meta box of the post edit screen that disables the wpautop filter for that post.
Also adds a ‘wpautop’, or ‘no-wpautop’ class to the post_class filter to help with CSS styling.

各版本下載點

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

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


1.0 | 1.1 | 1.2 | 1.1.1 | 1.1.2 | 1.2.1 | 1.2.2 | 1.2.4 | 1.2.5 | 1.3.0 | trunk |

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

  • Elementor Website Builder – More than Just a Page Builder 》, 全球超過 1000 萬個網站的領先網站建立平台, Elementor 是專為 WordPress 設計的領先網站建立平台,使網站製作者能夠使用直覺式的視覺建立工具建立專業、像...。
  • Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
  • Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。
  • Classic Widgets 》Classic Widgets 是由 WordPress 團隊維護的官方外掛,能夠恢復先前(即「經典」)的 WordPress widgets 設定畫面。該外掛將於 2024 年或必要時保持支援和維...。
  • User Role Editor 》「User Role Editor」WordPress 外掛讓您輕鬆更改使用者角色和權限。, 只需打開您希望新增到所選角色的能力核取方塊,然後按「更新」按鈕以保存您的更改。完...。
  • Spectra – WordPress Gutenberg Blocks 》a.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" rel="nofollow ugc">Spectra tutorials, you can easily learn how to ...。
  • Gutenberg Blocks with AI by Kadence WP – Page Builder Features 》Kadence Blocks 是一個 WordPress 外掛,它附加自訂區塊和選項,擴展了 Gutenberg 編輯功能,使您能夠輕鬆創建美麗的網站,而不需要任何程式編寫。Kadence Bl...。
  • Black Studio TinyMCE Widget 》此外掛添加了一個新的 Visual Editor 小工具類型,讓您能夠在側邊欄中輕鬆地插入豐富的文字和媒體對象。使用 Black Studio TinyMCE Widget 時,您將能夠使用W...。
  • Unyson 》, 您覺得這款外掛有幫助嗎?請考慮給它一個五星評價。, , Unyson - 一個免費的拖放框架,附帶許多內建的擴充功能,可以協助您輕鬆快速地開發高級主題。, 贊助...。
  • GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
  • Page Builder: Pagelayer – Drag and Drop website builder 》. Pagelayer是一個WordPress網站建構工具,為您提供最佳的設計體驗和快速效能,不論您是初學者或專業人士都能愛上它。, Pagelayer是一款很棒的網頁建構工具,...。
  • Genesis Blocks 》Genesis Blocks 是一個能夠在 Gutenberg 段落編輯器中使用的頁面組件集。透過使用段落編輯器和 Genesis Blocks,您可以更加靈活地建立各種網站,並快速推出!...。
  • WordPress.com Editing Toolkit 》此外掛提供一個自訂區塊,可以顯示最近的部落格文章清單,以及範本選擇器,, 讓您能更輕鬆地建立新頁面。此外,它還提供一個方法,讓您可以在頁面編輯器中全...。
  • Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates 》使用 Essential Blocks for Gutenberg,即可實現您的創意視覺效果,這是適用於 WordPress 的最終區塊庫!, 使用我們易於使用的區塊,增強您使用 Gutenberg 的...。
  • Colibri Page Builder 》Colibri Page Builder 為 ColibriWP 佈景主題新增拖放式頁面建立功能。, 授權, 除非另有指定,所有佈景主題檔案和腳本皆採用 GNU 通用公眾授權證 (GNU Genera...。

文章
Filter
Apply Filters