內容簡介
即使已經發布,仍可建立WordPress文章/頁面/自訂文章內容的草稿。當您準備好時,可以將更改合併回原始發布的內容。
功能
建立已發布內容的多個草稿
當您準備好時,將更改合併回已發布的內容
使用已發布內容的原始文章類型,因此在管理介面中可用於元數據、分類法等,甚至可以在草稿中修改並與原始文章合併回來
進行文章差異比較,類似於WP的預設revision.php?action=diff,並具有比較文章元數據和分類法的能力
在原始文章更新之前,可看到提醒通知
在文章/頁面/自訂文章內容的自然模板中預覽草稿
由於草稿都具有相同的自訂文章狀態,它們在管理介面的edit.php中與它們自己的狀態篩選器(參見截圖-4)中組織排列
此外掛需要使用JavaScript。
它是如何運作的?
前往文章的編輯畫面,並在「修訂版本的草稿」文章框中點擊「儲存草稿」按鈕(請確認您已啟用自訂文章類型)。文章的核心數據、分類法和元數據都會複製到一個新文章中–草稿作為原始文章的子節點。草稿具有自訂文章狀態;它永遠不會顯示在任何文章查詢中。您可以建立任意數量的草稿。
您可以像平常一樣編輯草稿的文章內容、分類法和元數據並使用WP的「儲存草稿」按鈕來保存草稿。您也可以隨時預覽草稿,並比較其與原始文章的更改(甚至是比較分類法和元數據的更改)。
當您準備好更新原始文章時,只需從草稿的編輯畫面點擊發佈按鈕。所有文章數據、分類法和元數據都會合併回原始文章,並刪除草稿。
外掛標籤
開發者團隊
原文外掛簡介
Create drafts of WordPress posts/pages/CPTs even after they’ve been published. And when you’re ready, merge the changes back into the original published post.
Features
Create multiple drafts of already published posts
Merge the changes back into the published post when you’re ready
Uses the published posts’s original post type, so metas, taxonomies, etc all are available in admin screens and can even be modified in the draft and merged back into the original post
Perform a post diff similar to WP’s default revision.php?action=diff with added ability to compare changes in post meta and taxonomies
See a notice when the original post has been updated ahead of a draft
Preview drafts in the post/page/CPT’s natural template
Since drafts all carry the same custom post status, they are organized in the admin’s edit.php with their own status filter (see screenshot-4)
This plugin requires javascript.
How Does it Work?
Go to a post’s edit screen and click on the “Save a Draft” button in the Drafts of Revisions postbox (make sure you’ve enabled the post type first). The post’s core data, taxonomies, and meta data are all copied into a new post – the draft – as a child of the original post. The draft has a custom post status; it will never show up in any queries for posts. You can create as many drafts as you like.
You can edit a draft’s post content, taxonomies, and meta data as you like and save progress with the native WP “Save Draft” button. You can also preview the draft and compare changes against the parent at any time (even comparing changes in taxonomies and meta data).
When you’re ready to update the parent post, click the Publish button from the draft’s edit page. All post data, taxonomies, and meta data are merged back into the parent post and the draft post is deleted.
