前言介紹
- 這款 WordPress 外掛「Distributor – Remote Quickedit」是 2023-02-14 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2023-10-20,距離現在已有 563 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.1.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
quickedit | distributor |
內容簡介
這個外掛針對多站網路中接收站,重新啟用 Distributor 外掛對遠端文章的快速編輯功能,讓您可以從遠端站點直接修改原始文章。這個外掛是基於 10up 公司出品的優秀 Distributor 外掛而開發的。
這個外掛的維護及部署在 github 上的 carstingaxion/distributor-remote-quickedit。
功能
在接收站使用 WordPress 原生的快速編輯功能,對分佈式文章進行小改動。預設 Distributor 外掛不提供此功能。
相容性
這個外掛是一個附加功能,需要以下條件:
Distributor (官網|GitHub)
使用方式
此外掛預設不啟用任何功能。
能夠修改遠端來源的文章,是一項有風險的事情。您必須透過程式啟用此外掛,以避免任何意外不良後果。
若您要為某個文章類型重新啟用快速編輯功能,您需要為該 post_type 呼叫 add_post_type_support() 函式,並將支援的功能設為 distributor-remote-quickedit。請確保在此外掛載入之前,針對每個目標文章類型設定好此功能支援。
以 post_type 為 book 為例:
add_action( 'admin_init', function () {
add_post_type_support( 'book', 'distributor-remote-quickedit' );
}, 9 );
一定要在外掛在 admin_init 執行之前,定義您的 post_type_supports,預設權重為 10。
原文外掛簡介
Re-enable quickedit for distributed posts on the receiving site within a multisite network. This allows you to make changes to the original post from the remote site. This is a small add-on for the glorious Distributor plugin by 10up.
This Add-on is maintained at and deployed from carstingaxion/distributor-remote-quickedit on github.
Features
Use native WordPress quickedit on the receiving side of a distributed post to make minor changes, which is disabled by the Distributor-plugin by default.
Compatibility
This plugin is an add-on for & requires:
Distributor (Website|GitHub) (only tested up to version 1.9.1, maybe not yet ready for the new 2.0.x)
Usage
This plugin does nothing by default.
Being able to modify posts, that were syndicated from a remote source, is a risky thing. To prevent any unwanted side-effects you have to pro-actively enable this plugin by code.
In order to re-enable the quick-edit functionality for a particular post_type you need to call add_post_type_support() for a support-feature called distributor-remote-quickedit. Do this for every desired post_type before this plugin loads.
With a post_type of book, you could do it like so:
add_action( 'admin_init', function () {
add_post_type_support( 'book', 'distributor-remote-quickedit' );
}, 9 );
It’s important to declare your post_type_supports before the plugin is executed on admin_init with a default priority of 10!
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Distributor – Remote Quickedit」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
ACF Quick Edit Fields 》這個 WordPress 外掛為 Advanced Custom Fields Plugin(Pro 和 Free 5+)增加了快速編輯功能。, 特色, , 在清單檢視中顯示 ACF 欄位值, 支援的 ACF 欄位類型...。