[WordPress] 外掛分享: Front-end Editor for WordPress

前言介紹

  • 這款 WordPress 外掛「Front-end Editor for WordPress」是 2013-09-03 上架。
  • 目前有 500 個安裝啟用數。
  • 上一次更新是 2016-08-23,距離現在已有 3174 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 有 69 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

iseulde | siteground | wordpressdotorg |

外掛標籤

inline editing | front-end editor |

內容簡介

功能

起草和編輯文章。
自動儲存。編輯完畢後立即發布。
上下文工具。粗體、斜體、刪除線、連結、標題、清單和引用。
使用 WordPress 媒體庫添加媒體。
方便的快捷鍵,例如 (*, – or 1.) 用於清單、(>)用於引用和(—)用於水平線。
從此列表自動嵌入媒體。只需貼上URL。
也可以通過直接貼上URL來添加文本連結。
如果您的佈景主題支援,還可以添加特色圖片。

配置和擴展

此外掛程式設計為“即插即用”,但也可進行配置和擴展。

工具列和按鈕

您可以使用以下過濾器向任何工具列添加更多按鈕:

fee_toolbar_caret 用於插入符號,
fee_toolbar_inline 用於普通選擇,
fee_toolbar_block 用於塊選擇。

例如:

add_filter('fee_toolbar_inline', function($buttons){
return array_merge($buttons, array('subscript'));
});

您可能需要提供額外的 CSS 和 JS。有關使用 TinyMCE 添加工具列按鈕的詳細信息,請參閱代碼手冊和TinyMCE docs。

鏈接到編輯器

您可以使用正常的編輯連結從網站上的任何位置鏈接到編輯器,然後將其捆綁到掛件中。使用edit_post_link或類似功能。

自定義文章類型支援
add_post_type_support( 'page', 'front-end-editor' );

請確保您還支援REST API。

禁用

如需禁用某些文章的編輯器,您可以使用supports_fee過濾器。

//禁用 ID 為1的文章。
add_filter('supports_fee', function($supports, $post) {
return $post->ID !== 1;
}, 10, 2);

原文外掛簡介

Features

Draft and edit posts.
Autosaves. Just publish when you’re done.
Contextual tools. Bold, italic, strikethrough, link, headings, lists and blockquote.
Add media with the WordPress media library.
Handy shortcuts for lists (*, – or 1.), blockquote (>) and horizontal rule (—).
Automatically embed media from this list. Just paste the URL.
You can also link text by just pasting the URL over it.
Add a featured image, if your theme supports it.

Configure and extend
This plugin is designed to be “plug and play”, but also configurable and extensible.
Toolbars and buttons
You can add more buttons to any of the toolbars with the following filters:

fee_toolbar_caret for the caret,
fee_toolbar_inline for normal selections,
fee_toolbar_block for block selections.

E.g.
add_filter('fee_toolbar_inline', function($buttons){
return array_merge($buttons, array('subscript'));
});

You may need to provide extra CSS and JS. See the Codex page and TinyMCE docs for more information about adding toolbar buttons with TinyMCE.
Linking to the editor
You can link to the editor from anywhere on the website with the normal edit link to the admin, and it will be picked up by the plugin. Use edit_post_link or similar.
Custom Post Types Support
add_post_type_support( 'page', 'front-end-editor' );

Please make sure you also support the REST API.
Disable
If you’d like to disable the editor for certain posts, you can use the supports_fee filter.
// Disable for the post with ID 1.
add_filter('supports_fee', function($supports, $post) {
return $post->ID !== 1;
}, 10, 2);

各版本下載點

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

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


0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.10 | 0.3.1 | 0.3.2 | 0.4.1 | 0.4.2 | 0.4.3 | 0.4.4 | 0.4.5 | 0.4.6 | 0.5.1 | 0.6.1 | 0.6.2 | 0.6.3 | 0.7.1 | 0.7.2 | 0.7.3 | 0.7.4 | 0.7.5 | 0.7.6 | 0.7.7 | 0.7.8 | 0.7.9 | 0.8.1 | 0.8.2 | 0.8.3 | 0.8.4 | 0.8.5 | 0.9.0 | 0.9.1 | 1.0.3 | 1.0.4 | 1.1.0 | 2.0.1 | 2.1.0 | 2.2.0 | 2.2.1 | trunk | 0.7.10 | 0.4.6.1 | 0.7.9.1 | 0.7.9.2 | 0.7.10.1 | 1.0.0-beta1 | 2.0.0-beta1 | 1.0.0-beta1.2 |

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

  • Guest posting / Frontend Posting wordpress plugin – WP Front User Submit / Front Editor 》示範 | 文件 | 支援 | 升級到 PRO, 正如名稱所說,客人或前端發布 WordPress外掛是一款免費的WordPress外掛,它提供從前端提交帖子的功能,具有各種可配置選...。
  • Frontpress 》Frontpress 可以讓使用者在前端編輯文章,使用起來十分方便。, 如果你是網站管理員,你的客戶會很喜歡這個插件,因為他們通常會害怕進入後台。, 使用方式:, ...。

文章
Filter
Mastodon