[WordPress] 外掛分享: Disable Delete Post or Page

WordPress 外掛 Disable Delete Post or Page 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Disable Delete Post or Page」是 2012-06-04 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2019-01-15,距離現在已有 2598 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.1.1 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

jeremyselph |

外掛標籤

delete | delete page | delete post |

內容簡介

當您將 WordPress 安裝交付給最終客戶時,一定會有某些頁面是您可能不想讓他們刪除的。它可能是具有自定義模板的頁面、在 WYSWIG 編輯器中具有 HTML 的頁面或由於某種原因而被連接且不是動態的頁面。

無論原因是什麼,如果先前設置了該選項,則「Disable Delete Post or Page Link Plugin」將刪除刪除文章的能力。以下區域的「刪除」連結都將被刪除:

檢視所有文章或所有頁面時。
在「發布」中編輯文章時。

重要注意事項

此外掛程式不會在您的目前佈景主題中添加任何東西。
如果已設置該選項,它將防止使用者刪除文章、頁面或其他自訂文章類型。
wp_trash_post() 或 wp_post_delete() 函數不受影響,當使用這些函數時,文章可以並且將被刪除。
要使用停用功能,您需要使用「螢幕選項面板」。請參閱https://make.wordpress.org/support/user-manual/getting-to-know-wordpress/screen-options/。

如何使用

使用此「Disable Delete Post or Page Link Plugin」時,您可以從上面顯示的區域隱藏/刪除刪除連結和刪除功能。每個文章、頁面或自訂文章都需要進行編輯並設置其選項。請遵循以下步驟:

在編輯文章時,請點選右上角的「螢幕選項」。
在「螢幕選項」面板開啟後,尋找標籤為「刪除此文章的能力」。然後勾選「移除垃圾桶」旁的複選框。

說明與支援

如需自訂 WordPress 外掛程式和佈景主題的開發請電子郵件聯絡我們:[email protected],或直接至 https://www.reactivedevelopment.net/。如果您對此外掛程式有疑問或需求,請前往https://wordpress.org/support/plugin/featured-users-wordpress-plugin,或前往https://www.reactivedevelopment.net/contact/project-mind/?plugin=featured-users以快速付費支援方式聯繫我們。

原文外掛簡介

When handing over a WordPress installation to the end-client, there are always certain pages that you may not want them to delete. It could be pages with custom templates, pages with HTML in the WYSWIG editor or for some reason a page that is hooked in and is not dynamic.
Whatever the reason is the Disable Delete Post or Page Link Plugin removes the ability to delete a post if its option has been previously set. The "Delete" links are removed from the following areas:

When viewing the list of All Posts or All Pages.
When editing a post in the Publish meta box.

Important notes

This plugin does not add anything to your current theme.
It will stop users from deleting posts, pages or other custom posts types if the option has been set.
The wp_trash_post() or wp_post_delete() functions are not affected and when used posts can and will be deleted.
The screen options panel is required to use the disable functionality. See https://make.wordpress.org/support/user-manual/getting-to-know-wordpress/screen-options/.

How to
When using this "Disable delete posts or pages" plugin you can hide/remove the delete links and delete functionality from the areas shown above. Each post, page or custom post needs to be edited and its option set. To do this follow these steps:

When editing the post click on "Screen Options" in the upper right-hand corner.
After the "Screen Options" panel has opened look for the label "Remove the ability to delete this post". Then check the checkbox that says "Remove trash link".

Help and support
For custom WordPress plugin and theme development requests email us at [email protected] or go to https://www.reactivedevelopment.net/. If you have questions or requests for this plugin go to https://wordpress.org/support/plugin/featured-users-wordpress-plugin or for quick and paid support go to https://www.reactivedevelopment.net/contact/project-mind/?plugin=featured-users to message us.

各版本下載點

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

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


1.0 | 4.1.1 |

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

  • Auto Delete Post – Ultimate plugin for deleting a post automatically 》這個外掛可以讓您在特定時間自動刪除任何網誌文章。當您發布文章時,這個外掛可以幫助您在指定時間後刪除文章。只需從時間和日期輸入欄位中設置時間,就可以...。
  • Simple Post Manager 》*Simple Post Manager v1.0, (簡單文章管理器 v1.0) 。
  • WP Post Revisions 》這個外掛讓部落客能夠更透明地向讀者通知他們的博客更新情況。只需在更新時做個註記,就可以每次更新博客時通知讀者。如果錯過了單字或打錯字,也可以通知使...。
  • Remove Post Using Ajax in Admin 》這個外掛可以在 WordPress 管理員儀表板中,使用 AJAX 刪除文章,而無需頁面重新整理。。
  • Delete Posts – Bulk delete posts 》如果您想一次刪除所有文章,這款外掛將幫助您完成此操作。, 前往“刪除文章”設置頁面,選擇文章類型,然後點擊“處理刪除”按鈕。, 然後它會顯示一份報告,, 現...。

文章
Filter
Mastodon