
內容簡介
f(x) Editor 是一個插件,透過啟用 WordPress 功能,例如分頁和文字背景顏色/突顯,提升您的內容編輯體驗。
您也可以輕鬆地創建資訊框、彩色按鈕和欄位,使您的內容更豐富且更吸引觀眾。
安裝此插件後,您可以透過管理面板中的「設定 > 視覺編輯器」選單啟用每個功能。
功能:
簡單的設定以啟用/停用功能。
透過視覺編輯器創建方框(注意事項、警告、錯誤、下載)。
透過視覺編輯器創建按鈕(白、黑、紅、綠、藍)。
透過視覺編輯器創建欄位(高達 3 欄:「1/2-1/2」、「1/3-2/3」、「2/3-1/3」、「1/3-1/3-1/3」)。
新增分頁按鈕。
新增換行 <br/> 按鈕。
啟用文字背景顏色選項(不僅限於文字顏色)。
將段落轉換為 BR(換行)。
易於使用。無需記住短碼。
使用 GPL v2.0 或更新版本許可證。🙂 使用它製作一些酷炫的東西吧。
支援可在 Genbu Media 尋求協助。
開發人員的注意事項:
Github
此插件的開發過程位於 GitHub 上。歡迎提出拉取請求和錯誤報告。
選項
此插件將選項保存在單一選項名稱中:fx-editor。
腳本
此插件在網站前端和編輯器中加載一個 CSS。如果您是主題作者並希望覆蓋樣式,建議刪除 CSS 並在您的主題樣式表和編輯器樣式表中加入 CSS。
若要停用前端 CSS,您可以在主題的 functions.php 中加入以下程式碼:
add_filter( 'fx_editor_load_front_css', '__return_false' );
然後您可以複製 CSS「css/front.css」到您的主題 style.css 和進行必要的調整。
若要停用後端/編輯器的 CSS,您可以在主題的 functions.php 中加入以下程式碼:
add_filter( 'fx_editor_load_editor_css', '__return_false' );
然後您可以複製 CSS「css/editor.css」到您的主題編輯器樣式表中並進行必要的調整。請注意:您需要確保所有需要的元素(例如「刪除圖示」和「欄位信息」)都已經適當地樣式化,以確保使用者可以正確地編輯內容。
對於開發人員,有單獨的篩選器可用於停用它:
add_filter( 'fx_editor_load_coder_editor_css', '__return_false' );
add_filter( 'fx_editor_load_coder_front_css', '__return_false' );
add_filter( 'fx_editor_load_coder_front_js', '__return_false' );
外掛標籤
開發者團隊
原文外掛簡介
f(x) Editor is a plugin to enhance your content editing experience by enabling WordPress features such as Page Break and Text Background Color/Highlight.
You can also easily create information boxes, colorful buttons, and columns to make your content richer and engage to your audience more.
After installation of this plugin, you can enable each features by navigating to “Settings > Visual Editor” menu in your administration panel.
Features:
Easy settings to disable/enable features.
Create boxes (Note, Alert, Error, Downloads) via visual editor.
Create buttons (White, Black, Red, Green, Blue) via visual editor.
Create columns ( up to 3 columns: “1/2 – 1/2” ; “1/3 – 2/3” ; “2/3 – 1/3” ; “1/3 – 1/3 – 1/3” ) via visual editor.
Add page break button.
Add line break
button.
Enable text background color option (not only text color).
Switch paragraph to BR(line break).
Easy to use. No shortcode to remember.
The GPL v2.0 or later license. 🙂 Use it to make something cool.
Support available at Genbu Media.
Notes for developer:
Github
Development of this plugin is hosted at GitHub. Pull request and bug reports are welcome.
Options
This plugin save the options in single option name: fx-editor.
Scripts
This plugin load one CSS in site front-end and one css in editor. If you are a theme author and want to override the styling it is recommended to remove the CSS and add the CSS in your theme stylesheet and editor style CSS.
To disable the front end CSS, add this code in your theme functions.php:
add_filter( 'fx_editor_load_front_css', '__return_false' );
and then you can copy the CSS “css/front.css” to your theme style.css and make adjustment as needed.
To disable the back-end/editor CSS, add this code in your theme functions.php:
add_filter( 'fx_editor_load_editor_css', '__return_false' );
And then you can copy the CSS “css/editor.css” to your theme editor styles and make adjustment as needed. Note: You need to make sure all the needed elements such as “remove icon” and “columns info” are styled properly to make sure user can properly edit the content.
For coder module, there are separate filters to disable it:
add_filter( 'fx_editor_load_coder_editor_css', '__return_false' );
add_filter( 'fx_editor_load_coder_front_css', '__return_false' );
add_filter( 'fx_editor_load_coder_front_js', '__return_false' );
